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

-webkit-radial-gradient parsing accidentally treats a number of mandatory commas as optional #6270

Conversation

darinadler
Copy link
Member

@darinadler darinadler commented Nov 8, 2022

a62f777

-webkit-radial-gradient parsing accidentally treats a number of mandatory commas as optional
https://bugs.webkit.org/show_bug.cgi?id=247649
rdar://problem/102111231

Reviewed by Sam Weinig.

* LayoutTests/imported/w3c/web-platform-tests/compat/webkit-gradient-comma-expected.txt:
Expect PASS.

* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumePrefixedRadialGradient): Rearranged the comma parsing
so it matches the grammar, and fail if the commas are missing.

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

5bcb92c

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

@darinadler darinadler self-assigned this Nov 8, 2022
@darinadler darinadler added CSS Cascading Style Sheets implementation WebKit Nightly Build labels Nov 8, 2022
@darinadler darinadler added merge-queue Applied to send a pull request to merge-queue and removed WebKit Nightly Build labels Nov 8, 2022
…tory commas as optional

https://bugs.webkit.org/show_bug.cgi?id=247649
rdar://problem/102111231

Reviewed by Sam Weinig.

* LayoutTests/imported/w3c/web-platform-tests/compat/webkit-gradient-comma-expected.txt:
Expect PASS.

* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumePrefixedRadialGradient): Rearranged the comma parsing
so it matches the grammar, and fail if the commas are missing.

Canonical link: https://commits.webkit.org/256468@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/-webkit-radial-gradient-parsing-accidentally-treats-a-number-of-mandatory-commas-as-optional branch from 5bcb92c to a62f777 Compare November 9, 2022 00:50
@webkit-commit-queue
Copy link
Collaborator

Committed 256468@main (a62f777): https://commits.webkit.org/256468@main

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

@webkit-commit-queue webkit-commit-queue merged commit a62f777 into WebKit:main Nov 9, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Nov 9, 2022
@darinadler darinadler deleted the eng/-webkit-radial-gradient-parsing-accidentally-treats-a-number-of-mandatory-commas-as-optional branch November 9, 2022 01:26
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