⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267550 in webkit


Ignore:
Timestamp:
Sep 24, 2020, 3:25:45 PM (6 years ago)
Author:
Fujii Hironori
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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r267544 r267550  
     12020-09-24  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [SVG2] Remove color-profile tag
     4        https://bugs.webkit.org/show_bug.cgi?id=216910
     5
     6        Reviewed by Darin Adler.
     7
     8        SVG2 removed color-profile element.
     9
     10        * dom/Document.cpp:
     11        (WebCore::Document::validateCustomElementName):
     12        * svg/svgtags.in:
     13
    1142020-09-24  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebCore/dom/Document.cpp

    r267310 r267550  
    12671267    static MainThreadNeverDestroyed<const AtomString> annotationXmlLocalName("annotation-xml", AtomString::ConstructFromLiteral);
    12681268#endif
    1269 
    1270     if (localName == SVGNames::color_profileTag->localName()
    1271         || localName == SVGNames::font_faceTag->localName()
     1269    static MainThreadNeverDestroyed<const AtomString> colorProfileLocalName("color-profile", AtomString::ConstructFromLiteral);
     1270
     1271    if (localName == SVGNames::font_faceTag->localName()
    12721272        || localName == SVGNames::font_face_formatTag->localName()
    12731273        || localName == SVGNames::font_face_nameTag->localName()
     
    12751275        || localName == SVGNames::font_face_uriTag->localName()
    12761276        || localName == SVGNames::missing_glyphTag->localName()
    1277         || localName == annotationXmlLocalName)
     1277        || localName == annotationXmlLocalName
     1278        || localName == colorProfileLocalName)
    12781279        return CustomElementNameValidationStatus::ConflictsWithStandardElementName;
    12791280
  • trunk/Source/WebCore/svg/svgtags.in

    r267497 r267550  
    1515circle
    1616clipPath
    17 #if 0
    18 color_profile
    19 #endif
    2017cursor
    2118defs
Note: See TracChangeset for help on using the changeset viewer.