Bug 276761
| Summary: | CSSParserFastPaths should treat rgb() and rgba() as synonyms | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | CSS | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/132458382>
roberto_rodriguez2
Pull request: https://github.com/WebKit/WebKit/pull/39056
EWS
Committed 289053@main (1f96e1bf6bd0): <https://commits.webkit.org/289053@main>
Reviewed commits have been landed. Closing PR #39056 and removing active labels.