Bug 249770
| Summary: | [@property] Whitespaces around initial-value should be trimmed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> |
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/37647 | ||
Antti Koivisto
Partially revert https://commits.webkit.org/258215@main. It turns out that WebKit whitespace handling for custom properties (where whitespace is always trimmed) is correct per https://drafts.csswg.org/css-syntax-3/#consume-declaration and this applies to initial-value too.
This is test by imported/w3c/web-platform-tests/css/css-syntax/declarations-trim-whitespace.html which we pass and other engines fail.
Update the @property tests to the spec.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103636334>
Antti Koivisto
Pull request: https://github.com/WebKit/WebKit/pull/8003
Antti Koivisto
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/37647
EWS
Committed 258245@main (4f0ccda88791): <https://commits.webkit.org/258245@main>
Reviewed commits have been landed. Closing PR #8003 and removing active labels.