Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse list-style-type custom-ident if counter-style is enabled #10982

Conversation

vitorroriz
Copy link
Contributor

@vitorroriz vitorroriz commented Mar 3, 2023

eb7c428

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

1ae8b6d

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug   πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2   πŸ§ͺ api-mac βœ… πŸ›  gtk
  πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ gtk-wk2
  πŸ›  tv   πŸ§ͺ mac-wk2   πŸ§ͺ api-gtk
βœ… πŸ›  tv-sim   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  πŸ§ͺ merge   πŸ›  watch-sim

@vitorroriz vitorroriz self-assigned this Mar 3, 2023
@vitorroriz vitorroriz added the CSS Cascading Style Sheets implementation label Mar 3, 2023
@vitorroriz vitorroriz requested a review from nt1m March 3, 2023 03:01
@vitorroriz vitorroriz force-pushed the eng/Parse-list-style-type-custom-ident-if-counter-style-is-enabled branch from b24be12 to 1ae8b6d Compare March 3, 2023 15:12
@vitorroriz vitorroriz added the merge-queue Applied to send a pull request to merge-queue label Mar 3, 2023
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
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Parse-list-style-type-custom-ident-if-counter-style-is-enabled branch from 1ae8b6d to eb7c428 Compare March 3, 2023 18:50
@webkit-commit-queue webkit-commit-queue merged commit eb7c428 into WebKit:main Mar 3, 2023
@webkit-commit-queue
Copy link
Collaborator

Committed 261154@main (eb7c428): https://commits.webkit.org/261154@main

Reviewed commits have been landed. Closing PR #10982 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Cascading Style Sheets implementation
Projects
None yet
4 participants