[webkit-changes] [WebKit/WebKit] eb7c42: Parse list-style-type custom-ident if counter-styl...

Vitor Roriz noreply at github.com
Fri Mar 3 10:51:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eb7c428cb8ebaaf0a6f48a1be8128abec5f5f741
      https://github.com/WebKit/WebKit/commit/eb7c428cb8ebaaf0a6f48a1be8128abec5f5f741
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/parser/CSSParserContext.cpp
    M Source/WebCore/css/parser/CSSParserContext.h
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.h
    M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  -----------
  Parse list-style-type custom-ident if counter-style is enabled
https://bugs.webkit.org/show_bug.cgi?id=253291
rdar://problem/106175917

Reviewed by Tim Nguyen.

list-style-type should accept custom-ident
values only if counter-styles-at-rule is enabled.

* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::operator==):
* Source/WebCore/css/parser/CSSParserContext.h:
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeListStyleType):
* Source/WebCore/css/parser/CSSPropertyParserHelpers.h:
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueListStyleType):

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




More information about the webkit-changes mailing list