Bug 160039 - Fix null handling for HTMLImageElement.border
Summary: Fix null handling for HTMLImageElement.border
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/#HTMLIma...
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-21 12:16 PDT by Chris Dumez
Modified: 2016-07-21 14:10 PDT (History)
10 users (show)

See Also:


Attachments
Patch (6.20 KB, patch)
2016-07-21 12:30 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews123 for ios-simulator-wk2 (789.88 KB, application/zip)
2016-07-21 13:29 PDT, Build Bot
no flags Details
Patch (7.38 KB, patch)
2016-07-21 13:30 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 12:16:19 PDT
Fix null handling for HTMLImageElement.border to match the specification:
- https://html.spec.whatwg.org/#HTMLImageElement-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:30:39 PDT
Created attachment 284245 [details]
Patch
Comment 2 Build Bot 2016-07-21 13:28:56 PDT
Comment on attachment 284245 [details]
Patch

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

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

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews123  Port: ios-simulator-wk2  Platform: Mac OS X 10.11.5
Comment 4 Chris Dumez 2016-07-21 13:30:51 PDT
Created attachment 284256 [details]
Patch
Comment 5 Chris Dumez 2016-07-21 14:10:44 PDT
Comment on attachment 284256 [details]
Patch

Clearing flags on attachment: 284256

Committed r203523: <http://trac.webkit.org/changeset/203523>
Comment 6 Chris Dumez 2016-07-21 14:10:49 PDT
All reviewed patches have been landed.  Closing bug.