WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249770
[@property] Whitespaces around initial-value should be trimmed
https://bugs.webkit.org/show_bug.cgi?id=249770
Summary
[@property] Whitespaces around initial-value should be trimmed
Antti Koivisto
Reported
2022-12-22 06:18:27 PST
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
Comment 1
2022-12-22 06:19:25 PST
<
rdar://problem/103636334
>
Antti Koivisto
Comment 2
2022-12-22 06:29:49 PST
Pull request:
https://github.com/WebKit/WebKit/pull/8003
Antti Koivisto
Comment 3
2022-12-22 07:07:43 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/37647
EWS
Comment 4
2022-12-22 09:19:21 PST
Committed
258245@main
(4f0ccda88791): <
https://commits.webkit.org/258245@main
> Reviewed commits have been landed. Closing PR #8003 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug