https://bugs.winehq.org/show_bug.cgi?id=53927
Bug ID: 53927 Summary: script56.chm help file pages not functioning properly due to wine missing beforeprint and afterprint html events Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: dimaki@rocketmail.com Distribution: ---
script56.chm is a Microsoft HTML help file for Microsoft Windows Script Technologies. It can be downloaded online as a standalone and is also included with various windows scripting editors and IDEs such as VbsEdit.
Most of the webpages that make up the chm file make use of beforeprint and afterprint html events. I was able to determine that Wine's lack of support for these results in certain functionality not working on these pages.
A reproducible example would go as follows. Run the script56.chm file with the command "wine hh script56.chm". Go to the "Abs Function" page(or one of many others) in the help file. You will see that the Remarks, Requirements, and See Also sections are hidden instead of visible like on native. Hitting the + sign does not expand the sections as expected on native. Also, hitting the Print button on the top bar does not modify the page as expected.