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: CSSAssignee: 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
Reported 2015-09-04 19:57:14 PDT
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
Radar WebKit Bug Importer
Comment 1 2015-09-04 19:57:33 PDT
Note You need to log in before you can comment on or make changes to this bug.