Changeset 203438 in webkit
- Timestamp:
- Jul 19, 2016, 6:27:24 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/svg/dom/SVGElement-xmlbase-expected.txt (added)
-
LayoutTests/svg/dom/SVGElement-xmlbase.html (added)
-
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/SVGElement.cpp (modified) (1 diff)
-
Source/WebCore/svg/SVGElement.h (modified) (1 diff)
-
Source/WebCore/svg/SVGElement.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203437 r203438 1 2016-07-19 Chris Dumez <cdumez@apple.com> 2 3 Drop SVGElement.xmlbase attribute 4 https://bugs.webkit.org/show_bug.cgi?id=159926 5 6 Reviewed by Benjamin Poulain. 7 8 * svg/dom/SVGElement-xmlbase-expected.txt: Added. 9 * svg/dom/SVGElement-xmlbase.html: Added. 10 Check that SVGElement.xmlbase does not exist. 11 12 * svg/dom/svg-element-attribute-js-null-expected.txt: 13 * svg/dom/svg-element-attribute-js-null.xhtml: 14 Drop obsolete testing for SVGElement.xmlbase. 15 1 16 2016-07-19 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt
r195700 r203438 2 2 3 3 TEST SUCCEEDED: The value was the string 'null'. [tested SVGElement.id] 4 TEST SUCCEEDED: The value was the empty string. [tested SVGElement.xmlbase]5 4 6 5 TEST SUCCEEDED: The value was the string '0'. [tested SVGAngle.valueAsString] -
trunk/LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml
r195700 r203438 54 54 attributes: [ 55 55 {name: 'id', expectedNull: 'null'}, 56 {name: 'xmlbase', expectedNull: ''}57 56 ] 58 57 }, -
trunk/Source/WebCore/ChangeLog
r203437 r203438 1 2016-07-19 Chris Dumez <cdumez@apple.com> 2 3 Drop SVGElement.xmlbase attribute 4 https://bugs.webkit.org/show_bug.cgi?id=159926 5 6 Reviewed by Benjamin Poulain. 7 8 Drop SVGElement.xmlbase attribute as it is no longer part of the 9 specification: 10 - https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement 11 12 Both Firefox and Chrome have already dropped support for 13 SVGElement.xmlbase. 14 15 Chrome's intent to remove: 16 https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/TfwMq4d25hk/C-v_iC_wKfAJ 17 18 Test: svg/dom/SVGElement-xmlbase.html 19 20 * svg/SVGElement.cpp: 21 (WebCore::SVGElement::removedFrom): Deleted. 22 * svg/SVGElement.h: 23 * svg/SVGElement.idl: 24 1 25 2016-07-19 Chris Dumez <cdumez@apple.com> 2 26 -
trunk/Source/WebCore/svg/SVGElement.cpp
r203324 r203438 366 366 { 367 367 return DOMImplementation::hasFeature(feature, version); 368 }369 370 String SVGElement::xmlbase() const371 {372 return attributeWithoutSynchronization(XMLNames::baseAttr);373 }374 375 void SVGElement::setXmlbase(const String& value, ExceptionCode&)376 {377 setAttributeWithoutSynchronization(XMLNames::baseAttr, value);378 368 } 379 369 -
trunk/Source/WebCore/svg/SVGElement.h
r201757 r203438 54 54 bool isOutermostSVGSVGElement() const; 55 55 56 String xmlbase() const;57 void setXmlbase(const String&, ExceptionCode&);58 59 56 SVGSVGElement* ownerSVGElement() const; 60 57 SVGElement* viewportElement() const; -
trunk/Source/WebCore/svg/SVGElement.idl
r202539 r203438 24 24 JSGenerateToNativeObject, 25 25 ] interface SVGElement : Element { 26 // FIXME: the xmlbase attribute is no longer part of SVG2 and Chrome already dropped it.27 // FIXME: This should not use [TreatNullAs=LegacyNullString].28 [TreatNullAs=LegacyNullString, SetterRaisesException] attribute DOMString xmlbase;29 30 26 readonly attribute SVGSVGElement ownerSVGElement; 31 27 readonly attribute SVGElement viewportElement;
Note:
See TracChangeset
for help on using the changeset viewer.