Bug 159923

Summary: Fix null handling of several HTMLDocument attributes
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, commit-queue, darin, dbates, esprehn+autocc, gyuyoung.kim, kondapallykalyan, rniwa
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://html.spec.whatwg.org/multipage/dom.html#document
Attachments:
Description Flags
Patch none

Description Chris Dumez 2016-07-19 09:51:51 PDT
Fix null handling of several HTMLDocument attributes:
- https://html.spec.whatwg.org/multipage/dom.html#document
- https://html.spec.whatwg.org/multipage/obsolete.html#document-partial

In particular, null handling is currently incorrect in WebKit for 'dir', 'bgColor', 'fgColor', 'alinkColor', 'linkColor' and 'vlinkColor'.

Firefox and Chrome match the specification.
Comment 1 Chris Dumez 2016-07-19 10:04:36 PDT
Created attachment 284015 [details]
Patch
Comment 2 WebKit Commit Bot 2016-07-19 22:10:48 PDT
Comment on attachment 284015 [details]
Patch

Clearing flags on attachment: 284015

Committed r203443: <http://trac.webkit.org/changeset/203443>
Comment 3 WebKit Commit Bot 2016-07-19 22:10:54 PDT
All reviewed patches have been landed.  Closing bug.