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
The original intention of the text-wrap longhand of white-space was to host the wrap and nowrap values, i.e. control whether or not text wraps.
Along the way we added controls about how it wraps: balance, pretty. And now people are discussing whether to add more controls here.
But probably the question of how something wraps should cascade independently of whether it wraps, similar to how text-justify is a separate property from text-align: justify.
Should we split out these values so that we have:
white-space
white-space-collapse: collapse | preserve | etc.
something: wrap | nowrap
otherthing: normal | balance | pretty | etc.
?
Possible names for these properties (I'm not sold on any of them): text-wrap, line-wrap, inline-wrap, wrap-style, wrap-behavior, ...
The text was updated successfully, but these errors were encountered:
The original intention of the
text-wrap
longhand ofwhite-space
was to host thewrap
andnowrap
values, i.e. control whether or not text wraps.Along the way we added controls about how it wraps:
balance
,pretty
. And now people are discussing whether to add more controls here.But probably the question of how something wraps should cascade independently of whether it wraps, similar to how
text-justify
is a separate property fromtext-align: justify
.Should we split out these values so that we have:
?
Possible names for these properties (I'm not sold on any of them):
text-wrap
,line-wrap
,inline-wrap
,wrap-style
,wrap-behavior
, ...The text was updated successfully, but these errors were encountered: