Bug 160041 - Fix null handling for several HTMLTableElement attributes
Summary: Fix null handling for several HTMLTableElement attributes
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/#HTMLTab...
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-21 12:40 PDT by Chris Dumez
Modified: 2016-07-21 14:26 PDT (History)
10 users (show)

See Also:


Attachments
Patch (9.18 KB, patch)
2016-07-21 12:58 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:40:18 PDT
Fix null handling for several HTMLTableElement attributes to match the specification:
- https://html.spec.whatwg.org/#HTMLTableElement-partial

The attributes in question are 'bicolor', 'cellSpacing' and 'cellPadding'. We are supposed to treat null as the empty string for these attributes.

Firefox and Chrome both agree with the specification.
Comment 1 Chris Dumez 2016-07-21 12:58:52 PDT
Created attachment 284249 [details]
Patch
Comment 2 Chris Dumez 2016-07-21 14:26:10 PDT
Comment on attachment 284249 [details]
Patch

Clearing flags on attachment: 284249

Committed r203529: <http://trac.webkit.org/changeset/203529>
Comment 3 Chris Dumez 2016-07-21 14:26:15 PDT
All reviewed patches have been landed.  Closing bug.