Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c119008088192c83b7861bcbaf24a675f9d7e837
      
https://github.com/WebKit/WebKit/commit/c119008088192c83b7861bcbaf24a675f9d7e837
  Author: Sam Weinig <[email protected]>
  Date:   2026-08-30 (Sun, 30 Aug 2026)

  Changed paths:
    M Source/WebCore/css/CSSGroupingRule.cpp
    M Source/WebCore/css/CSSStyleRule.cpp
    M Source/WebCore/css/parser/CSSParser.cpp
    M Source/WebCore/css/parser/CSSParser.h
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Color.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Color.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorAdjust.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorAdjust.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorInlines.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Easing.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Easing.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Filter.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Filter.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.h
    M Source/WebCore/css/parser/CSSSelectorParser.cpp
    M Source/WebCore/css/parser/CSSSelectorParser.h
    M Source/WebCore/css/parser/CSSSupportsParser.cpp
    M Source/WebCore/css/parser/CSSSupportsParser.h
    M Source/WebCore/css/parser/SizesAttributeParser.cpp
    M Source/WebCore/css/parser/SizesAttributeParser.h
    M Source/WebCore/inspector/InspectorStyleSheet.cpp
    M Source/WebCore/svg/SVGAngleValue.cpp
    M Source/WebCore/svg/SVGAngleValue.h

  Log Message:
  -----------
  Use StringView for more CSS parsing functions now that CSSTokenizer supports 
it
https://bugs.webkit.org/show_bug.cgi?id=322904

Reviewed by Darin Adler.

Replaces use of `const String&` for input to CSS parsing functions with 
StringView
to allow callers more options for how they store the input.

* Source/WebCore/css/CSSGroupingRule.cpp:
* Source/WebCore/css/CSSStyleRule.cpp:
* Source/WebCore/css/parser/CSSParser.cpp:
* Source/WebCore/css/parser/CSSParser.h:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
* Source/WebCore/css/parser/CSSPropertyParser.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Color.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Color.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorAdjust.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorAdjust.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorInlines.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Easing.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Easing.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Filter.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Filter.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.h:
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
* Source/WebCore/css/parser/CSSSelectorParser.h:
* Source/WebCore/css/parser/CSSSupportsParser.cpp:
* Source/WebCore/css/parser/CSSSupportsParser.h:
* Source/WebCore/css/parser/SizesAttributeParser.cpp:
* Source/WebCore/css/parser/SizesAttributeParser.h:
* Source/WebCore/inspector/InspectorStyleSheet.cpp:
* Source/WebCore/svg/SVGAngleValue.cpp:
* Source/WebCore/svg/SVGAngleValue.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to