https://bugs.winehq.org/show_bug.cgi?id=50875 Bug ID: 50875 Summary: HTMLElement_get_offsetParent crashes wine if a NULL offset parent is expected (VbsEdit) Product: Wine Version: 6.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs(a)winehq.org Reporter: dimaki(a)rocketmail.com Distribution: --- This issue effects an html help file which ships with VbsEdit. The body html element has a NULL offset parent. Attempting to retrieve it causes a null dereference crash in wine, but not in IE on Windows. Here is sample html code to reproduce the problem. In IE clicking the button produces no result while wine crashes. <!DOCTYPE html> <html> <body> <p>Click the button to get the offsetParent for the body tag.</p> <p><button onclick="testFunction()">Click</button></p> <script> function testFunction() { document.body.offsetParent; } </script> </body> </html> I have a patch with a fix which I will send in shortly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.