Bug 95388

Summary: LayoutTest: fast/css/nested-layers-with-over.html fails on Windows
Product: WebKit Reporter: Roger Fong <roger_fong>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bdakin, bfulgham, jberlin, jhoneycutt
Priority: P2 Keywords: LayoutTestFailure
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   

Roger Fong
Reported 2012-08-29 15:18:56 PDT
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...
Attachments
Roger Fong
Comment 1 2012-08-31 14:10:36 PDT
Roger Fong
Comment 2 2012-08-31 14:10:48 PDT
(In reply to comment #1) > http://trac.webkit.org/changeset/127310 Temporarily skipped
Brent Fulgham
Comment 3 2014-02-18 14:07:01 PST
This test runs properly now.
Note You need to log in before you can comment on or make changes to this bug.