Bug 247649 - -webkit-radial-gradient parsing accidentally treats a number of mandatory commas as optional
Summary: -webkit-radial-gradient parsing accidentally treats a number of mandatory com...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-08 15:00 PST by Darin Adler
Modified: 2022-11-08 16:50 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2022-11-08 15:00:55 PST
https://compat.spec.whatwg.org/#css-gradients-webkit-radial-gradient

From code inspection and a failing WPT test, it is clear that the parsing for -webkit-radial-gradient accidentally is treating commas separating some of the items as optional; they should be mandatory.
Comment 1 Radar WebKit Bug Importer 2022-11-08 15:05:14 PST
<rdar://problem/102111231>
Comment 2 Darin Adler 2022-11-08 15:06:59 PST
Pull request: https://github.com/WebKit/WebKit/pull/6270
Comment 3 EWS 2022-11-08 16:50:46 PST
Committed 256468@main (a62f77706c4f): <https://commits.webkit.org/256468@main>

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