You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-text-4] white-space shorthand values cannot be fully expressed using its longhands #8256
WebKit assumes that shorthands don't have other side effects than just setting their longhands. So every single of the shorthand values should be expressible in some form by their longhands.
It's not ideal (see #8055), but there are the precedents like system fonts, which set longhands to an internal value that serializes to empty string. This could be a temporary solution if you want to implement the longhands.
there are the precedents like system fonts, which set longhands to an internal value that serializes to empty string.
This means the spec cannot be implemented without implementing the full set of longhands at least, even though text-space-collapse & text-space-trim are not stable.
@nt1m Is there some particular feature that you want from L4? Sorting this out is on the to-do list, but there hasn't been a lot of interest in the extended white space values...
Activity
Loirooriol commentedon Dec 23, 2022
It's not ideal (see #8055), but there are the precedents like system fonts, which set longhands to an internal value that serializes to empty string. This could be a temporary solution if you want to implement the longhands.
nt1m commentedon Dec 23, 2022
This means the spec cannot be implemented without implementing the full set of longhands at least, even though
text-space-collapse&text-space-trimare not stable.fantasai commentedon Dec 30, 2022
@nt1m Is there some particular feature that you want from L4? Sorting this out is on the to-do list, but there hasn't been a lot of interest in the extended white space values...
nt1m commentedon Dec 30, 2022
@fantasai I'm interested in implementing
text-wrapandtext-group-alignmore specifically.fantasai commentedon Mar 6, 2023
Fixed in #8274 @nt1m Please file follow-up issues if you notice anything wrong!