WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
95388
LayoutTest: fast/css/nested-layers-with-over.html fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=95388
Summary
LayoutTest: fast/css/nested-layers-with-over.html fails on Windows
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
Add attachment
proposed patch, testcase, etc.
Roger Fong
Comment 1
2012-08-31 14:10:36 PDT
http://trac.webkit.org/changeset/127310
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.
Top of Page
Format For Printing
XML
Clone This Bug