[Webkit-unassigned] [Bug 95388] New: LayoutTest: fast/css/nested-layers-with-over.html fails on Windows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 29 15:18:52 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95388
Summary: LayoutTest: fast/css/nested-layers-with-over.html
fails on Windows
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: NEW
Keywords: LayoutTestFailure
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: roger_fong at apple.com
CC: bdakin at apple.com, jhoneycutt at apple.com,
jberlin at webkit.org
The offsetWidth and offsetHeight properties on a div are different when run through DRT and minibrowser.
This test relies on the mouse hovering over a block of text.
It uses mouseMoveTo to accomplish this.
The test fails on Windows because for some reason the offsetHeight property is not correct (too big) resulting in the mouse being moved to the wrong location.
If I log the offsetHeight property of the 'table-row' element, DRT spits out 36 which is wrong. Meanwhile in minibrowser, the exact same console log in the exact same place spits out 20px, as it should be.
The problem also only occurs when using text in the div, regardless of whether or not I manually set the height property on the div itself.
If I change the test to use an image and manually set its width and height the test will work. Although I still have no idea why the text is causing DRT to mess up. I'd expect that anything like that that works in the minibrowser should also work in DRT...
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list