Changeset 203444 in webkit
- Timestamp:
- Jul 19, 2016, 10:13:06 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt (modified) (1 diff)
-
LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/svg/SVGScriptElement.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203443 r203444 1 2016-07-19 Chris Dumez <cdumez@apple.com> 2 3 Fix null handling of SVGScriptElement.type attribute 4 https://bugs.webkit.org/show_bug.cgi?id=159927 5 6 Reviewed by Benjamin Poulain. 7 8 Rebaseline existing test to reflect the behavior change. 9 10 * svg/dom/svg-element-attribute-js-null-expected.txt: 11 * svg/dom/svg-element-attribute-js-null.xhtml: 12 1 13 2016-07-19 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt
r203438 r203444 7 7 TEST SUCCEEDED: The value was the string '0'. [tested SVGLength.valueAsString] 8 8 9 TEST SUCCEEDED: The value was the empty string. [tested SVGScriptElement.type]9 TEST SUCCEEDED: The value was the string 'null'. [tested SVGScriptElement.type] 10 10 11 11 -
trunk/LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml
r203438 r203444 74 74 elementToUse: document.createElementNS(svgNS, 'script'), 75 75 attributes: [ 76 {name: 'type', expectedNull: ' '}76 {name: 'type', expectedNull: 'null'} 77 77 ] 78 78 } -
trunk/Source/WebCore/ChangeLog
r203443 r203444 1 2016-07-19 Chris Dumez <cdumez@apple.com> 2 3 Fix null handling of SVGScriptElement.type attribute 4 https://bugs.webkit.org/show_bug.cgi?id=159927 5 6 Reviewed by Benjamin Poulain. 7 8 Fix null handling of SVGScriptElement.type attribute: 9 - https://www.w3.org/TR/SVG2/interact.html#InterfaceSVGScriptElement 10 11 We were treating null as the null String which would end up removing 12 the 'type' content attribute. However, we should treat null as the 13 String "null". 14 15 Firefox and Chrome match the specification. 16 17 No new tests, updated existing test. 18 19 * svg/SVGScriptElement.idl: 20 1 21 2016-07-19 Chris Dumez <cdumez@apple.com> 2 22 -
trunk/Source/WebCore/svg/SVGScriptElement.idl
r197353 r203444 25 25 26 26 interface SVGScriptElement : SVGElement { 27 // FIXME: This should not use [TreatNullAs=LegacyNullString]. 28 [TreatNullAs=LegacyNullString, Reflect] attribute DOMString type; 27 [Reflect] attribute DOMString type; 29 28 }; 30 29
Note:
See TracChangeset
for help on using the changeset viewer.