Title: [267550] trunk/Source/WebCore
Revision
267550
Author
[email protected]
Date
2020-09-24 15:25:45 -0700 (Thu, 24 Sep 2020)

Log Message

[SVG2] Remove color-profile tag
https://bugs.webkit.org/show_bug.cgi?id=216910

Reviewed by Darin Adler.

SVG2 removed color-profile element.

* dom/Document.cpp:
(WebCore::Document::validateCustomElementName):
* svg/svgtags.in:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (267549 => 267550)


--- trunk/Source/WebCore/ChangeLog	2020-09-24 22:05:31 UTC (rev 267549)
+++ trunk/Source/WebCore/ChangeLog	2020-09-24 22:25:45 UTC (rev 267550)
@@ -1,3 +1,16 @@
+2020-09-24  Fujii Hironori  <[email protected]>
+
+        [SVG2] Remove color-profile tag
+        https://bugs.webkit.org/show_bug.cgi?id=216910
+
+        Reviewed by Darin Adler.
+
+        SVG2 removed color-profile element.
+
+        * dom/Document.cpp:
+        (WebCore::Document::validateCustomElementName):
+        * svg/svgtags.in:
+
 2020-09-24  Chris Dumez  <[email protected]>
 
         Use more inline initialization and constexpr in WebAudio code

Modified: trunk/Source/WebCore/dom/Document.cpp (267549 => 267550)


--- trunk/Source/WebCore/dom/Document.cpp	2020-09-24 22:05:31 UTC (rev 267549)
+++ trunk/Source/WebCore/dom/Document.cpp	2020-09-24 22:25:45 UTC (rev 267550)
@@ -1266,15 +1266,16 @@
 #else
     static MainThreadNeverDestroyed<const AtomString> annotationXmlLocalName("annotation-xml", AtomString::ConstructFromLiteral);
 #endif
+    static MainThreadNeverDestroyed<const AtomString> colorProfileLocalName("color-profile", AtomString::ConstructFromLiteral);
 
-    if (localName == SVGNames::color_profileTag->localName()
-        || localName == SVGNames::font_faceTag->localName()
+    if (localName == SVGNames::font_faceTag->localName()
         || localName == SVGNames::font_face_formatTag->localName()
         || localName == SVGNames::font_face_nameTag->localName()
         || localName == SVGNames::font_face_srcTag->localName()
         || localName == SVGNames::font_face_uriTag->localName()
         || localName == SVGNames::missing_glyphTag->localName()
-        || localName == annotationXmlLocalName)
+        || localName == annotationXmlLocalName
+        || localName == colorProfileLocalName)
         return CustomElementNameValidationStatus::ConflictsWithStandardElementName;
 
     return CustomElementNameValidationStatus::Valid;

Modified: trunk/Source/WebCore/svg/svgtags.in (267549 => 267550)


--- trunk/Source/WebCore/svg/svgtags.in	2020-09-24 22:05:31 UTC (rev 267549)
+++ trunk/Source/WebCore/svg/svgtags.in	2020-09-24 22:25:45 UTC (rev 267550)
@@ -14,9 +14,6 @@
 set
 circle
 clipPath
-#if 0
-color_profile
-#endif
 cursor
 defs
 desc
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to