Bug 160037 - Fix null handling for HTMLIFrameElement.marginWidth / marginHeight
Summary: Fix null handling for HTMLIFrameElement.marginWidth / marginHeight
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/#HTMLIFr...
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-21 11:58 PDT by Chris Dumez
Modified: 2016-07-21 14:11 PDT (History)
10 users (show)

See Also:


Attachments
Patch (7.81 KB, patch)
2016-07-21 12:27 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews125 for ios-simulator-wk2 (789.24 KB, application/zip)
2016-07-21 13:25 PDT, Build Bot
no flags Details
Patch (10.12 KB, patch)
2016-07-21 13:27 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-07-21 11:58:13 PDT
Fix null handling for HTMLIFrameElement.marginWidth / marginHeight to match the specification:
- https://html.spec.whatwg.org/#HTMLIFrameElement-partial

We are supposed to treat null as the empty string. Both Firefox and Chrome agree with the specification.
Comment 1 Chris Dumez 2016-07-21 12:27:28 PDT
Created attachment 284244 [details]
Patch
Comment 2 Build Bot 2016-07-21 13:25:32 PDT
Comment on attachment 284244 [details]
Patch

Attachment 284244 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/1727168

New failing tests:
imported/w3c/web-platform-tests/html/dom/reflection-embedded.html
Comment 3 Build Bot 2016-07-21 13:25:36 PDT
Created attachment 284253 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125  Port: ios-simulator-wk2  Platform: Mac OS X 10.11.5
Comment 4 Chris Dumez 2016-07-21 13:27:45 PDT
Created attachment 284254 [details]
Patch
Comment 5 Chris Dumez 2016-07-21 14:11:35 PDT
Comment on attachment 284254 [details]
Patch

Clearing flags on attachment: 284254

Committed r203524: <http://trac.webkit.org/changeset/203524>
Comment 6 Chris Dumez 2016-07-21 14:11:40 PDT
All reviewed patches have been landed.  Closing bug.