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
319831
[white-space-trim] Add to white-space shorthand syntax
https://bugs.webkit.org/show_bug.cgi?id=319831
Summary
[white-space-trim] Add to white-space shorthand syntax
Tim Nguyen (:ntim)
Reported
2026-07-20 12:07:57 PDT
The syntax for white-space is: normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'> See:
https://drafts.csswg.org/css-text-4/#white-space-property
Attachments
Patch
(34.22 KB, patch)
2026-07-28 16:18 PDT
,
alan
no flags
Details
Formatted Diff
Diff
[fast-cq]Patch
(34.28 KB, patch)
2026-08-03 10:45 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-07-20 13:27:18 PDT
<
rdar://problem/182739052
>
Tim Nguyen (:ntim)
Comment 2
2026-07-20 13:29:26 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/69802
alan
Comment 3
2026-07-28 16:18:09 PDT
Created
attachment 480866
[details]
Patch
Antti Koivisto
Comment 4
2026-08-03 02:49:39 PDT
Comment on
attachment 480866
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=480866&action=review
> Source/WebCore/css/ShorthandSerializer.cpp:1627 > + if (isLonghandValueNone(2)) {
could put this to an informative local like auto hasInitialWhileSpaceTrim
alan
Comment 5
2026-08-03 10:45:11 PDT
Created
attachment 480920
[details]
[fast-cq]Patch
EWS
Comment 6
2026-08-03 13:11:16 PDT
Committed
318486@main
(dd490d605c8f): <
https://commits.webkit.org/318486@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 480920
[details]
.
Anne van Kesteren
Comment 7
2026-11-03 00:30:07 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/64598
Anne van Kesteren
Comment 8
2026-11-03 00:49:10 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/64611
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