[webkit-changes] [WebKit/WebKit] 30fcb6: [@property] Rename CSSPropertySyntax to CSSCustomP...

Antti Koivisto noreply at github.com
Wed Dec 14 06:16:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30fcb6f7b33f0db82e5a2999fa33cab17bd7ce0b
      https://github.com/WebKit/WebKit/commit/30fcb6f7b33f0db82e5a2999fa33cab17bd7ce0b
  Author: Antti Koivisto <antti at apple.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/CSSRegisteredCustomProperty.cpp
    M Source/WebCore/css/CSSRegisteredCustomProperty.h
    M Source/WebCore/css/DOMCSSRegisterCustomProperty.cpp
    M Source/WebCore/css/StyleProperties.cpp
    A Source/WebCore/css/parser/CSSCustomPropertySyntax.cpp
    A Source/WebCore/css/parser/CSSCustomPropertySyntax.h
    M Source/WebCore/css/parser/CSSParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.h
    R Source/WebCore/css/parser/CSSPropertySyntax.cpp
    R Source/WebCore/css/parser/CSSPropertySyntax.h

  Log Message:
  -----------
  [@property] Rename CSSPropertySyntax to CSSCustomPropertySyntax
https://bugs.webkit.org/show_bug.cgi?id=249302
rdar://103351996

Reviewed by Antoine Quint.

...so it doesn't collide with the upcoming CSSPropertySyntax enum value in the CSSPropertyID enum (which should be an enum class).

* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSRegisteredCustomProperty.cpp:
(WebCore::CSSRegisteredCustomProperty::CSSRegisteredCustomProperty):
* Source/WebCore/css/CSSRegisteredCustomProperty.h:
* Source/WebCore/css/DOMCSSRegisterCustomProperty.cpp:
(WebCore::DOMCSSRegisterCustomProperty::registerProperty):
* Source/WebCore/css/StyleProperties.cpp:
(WebCore::MutableStyleProperties::setCustomProperty):
* Source/WebCore/css/parser/CSSCustomPropertySyntax.cpp: Renamed from Source/WebCore/css/parser/CSSPropertySyntax.cpp.
(WebCore::CSSCustomPropertySyntax::parseComponent):
(WebCore::CSSCustomPropertySyntax::parse):
(WebCore::CSSCustomPropertySyntax::typeForTypeName):
* Source/WebCore/css/parser/CSSCustomPropertySyntax.h: Renamed from Source/WebCore/css/parser/CSSPropertySyntax.h.
(WebCore::CSSCustomPropertySyntax::isUniversal const):
(WebCore::CSSCustomPropertySyntax::universal):
* Source/WebCore/css/parser/CSSParser.cpp:
(WebCore::CSSParser::parseValueWithVariableReferences):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::canParseTypedCustomPropertyValue):
(WebCore::CSSPropertyParser::parseTypedCustomPropertyValue):
(WebCore::CSSPropertyParser::collectParsedCustomPropertyValueDependencies):
(WebCore::CSSPropertyParser::consumeCustomPropertyValueWithSyntax):
* Source/WebCore/css/parser/CSSPropertyParser.h:

Canonical link: https://commits.webkit.org/257852@main




More information about the webkit-changes mailing list