Bug 148877
Summary: | Computed width and height of an object element with width and height attributes should not be auto | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | achievingnewhites, ap, cdumez, dino, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
The width and the height in the computed style of an object element should not be "auto"
if the element has width and height explicitly specified by attributes.
e.g. if we had
<object id="obj1" data="blue.html" name="o" height="50" width="100"></object>
getComputedStyle(obj1, null)["width"] should be "100px", not "auto".
This bug was found by the newly added test:
LayoutTests/http/tests/w3c/html/semantics/embedded-content/the-object-element/object-attributes.html
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/22590317>