Bug 95388
Summary: | LayoutTest: fast/css/nested-layers-with-over.html fails on Windows | ||
---|---|---|---|
Product: | WebKit | Reporter: | Roger Fong <roger_fong> |
Component: | Tools / Tests | Assignee: | 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
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
http://trac.webkit.org/changeset/127310
Roger Fong
(In reply to comment #1)
> http://trac.webkit.org/changeset/127310
Temporarily skipped
Brent Fulgham
This test runs properly now.