Bug 159927 - Fix null handling of SVGScriptElement.type attribute
Summary: Fix null handling of SVGScriptElement.type attribute
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-19 10:49 PDT by Chris Dumez
Modified: 2016-07-19 22:14 PDT (History)
7 users (show)

See Also:


Attachments
Patch (3.72 KB, patch)
2016-07-19 10:51 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-19 10:49:32 PDT
Fix null handling of SVGScriptElement.type attribute:
https://www.w3.org/TR/SVG2/interact.html#InterfaceSVGScriptElement

We treat null as the null String which ends up removing the 'type' content attribute. However, we are supposed to treat null as the String "null".

Firefox and Chrome match the specification.
Comment 1 Chris Dumez 2016-07-19 10:51:58 PDT
Created attachment 284020 [details]
Patch
Comment 2 WebKit Commit Bot 2016-07-19 22:14:03 PDT
Comment on attachment 284020 [details]
Patch

Clearing flags on attachment: 284020

Committed r203444: <http://trac.webkit.org/changeset/203444>
Comment 3 WebKit Commit Bot 2016-07-19 22:14:08 PDT
All reviewed patches have been landed.  Closing bug.