Bug 87631
Summary: | REGRESSION(r118618): fast/dom/beforeload/image-object-before-load* fail | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
Component: | WebKit EFL | Assignee: | Chris Dumez <cdumez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | darin, gyuyoung.kim, lbzwischenbrugger, lucas.de.marchi, ossy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 35377, 79666 |
Chris Dumez
The two following test are failing on EFL port after r118618 (Bug 35377):
fast/dom/beforeload/image-object-before-load-innerHTML.html = TEXT
fast/dom/beforeload/image-object-before-load.html = TEXT
The test fail because the style.width / style.height are '0px' instead of 'auto'.
The width/height of '0px' seems to indicate that the image load was actually prevented by the beforeload listener (as expected). Otherwise, the height/width would be '16px'.
The reason why the width/height is '0px' instead of 'auto' is because the object is recognized as being 'replaced' (See bug 61117 which introduces the 'auto' behavior for for non-replaced inline elements).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Csaba Osztrogonác
These tests fail on EFL and on Qt too.
Csaba Osztrogonác
*** Bug 88092 has been marked as a duplicate of this bug. ***
Csaba Osztrogonác
I skipped them on Qt-WK: http://trac.webkit.org/changeset/119230/trunk/LayoutTests/platform/qt-5.0-wk2/Skipped
Please unskip them with the proper fix.
Chris Dumez
r118618 has been rolled out and those test cases are now passing again. Closing the bug.