Bug 276761

Summary: CSSParserFastPaths should treat rgb() and rgba() as synonyms
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, koivisto, webkit-bug-importer
Priority: P2 Keywords: GoodFirstBug, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2024-07-17 21:25:28 PDT
https://www.w3.org/TR/css-color-4/#rgb-functions says that rgb() and rgba() are synonyms, but parseNumericColor() treats them differently. This means we'll fall back to the slow path in some cases.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-24 21:26:13 PDT
roberto_rodriguez2
Comment 2 2025-01-15 09:53:22 PST
EWS
Comment 3 2025-01-17 05:31:55 PST
Committed 289053@main (1f96e1bf6bd0): <https://commits.webkit.org/289053@main> Reviewed commits have been landed. Closing PR #39056 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.