Bug 294504
| Summary: | Update serialization of <color> custom properties to used value | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | CSS | Assignee: | Sam Weinig <sam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
In https://github.com/w3c/csswg-drafts/issues/10371 it was resolved that:
```
RESOLVED: <color> values returned by getComputedStyle() on standard CSS properties or registered custom properties is the used value
RESOLVED: computed <color> values returned by TypedOM are the actual computed value
```
We should update and remove the special case serialization of Style::Color that exists only for the old behavior.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Weinig
Pull request: https://github.com/WebKit/WebKit/pull/46827
EWS
Committed 296337@main (0fb43e308674): <https://commits.webkit.org/296337@main>
Reviewed commits have been landed. Closing PR #46827 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/153675017>