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
CSS Text 4 currently defines wrap-before and wrap-after with the values auto, avoid, avoid-line, avoid-flex, line, and flex.
I am wondering whether the values can be consolidated, especially avoid-flex and flex seem redundant to avoid-line and line.
It is also unclear to me what's the difference between avoid and avoid-line. As I understand it, both avoid line breaks before or after an inline-level box or a flex item.
Furthermore, the properties may also apply to other boxes in the future like grid items, so maybe a more general keyword than line could be used instead, like wrap.
Applying those changes the syntax would then shrink to auto | avoid | wrap.
Sebastian
The text was updated successfully, but these errors were encountered:
CSS Text 4 currently defines
wrap-before
andwrap-after
with the valuesauto
,avoid
,avoid-line
,avoid-flex
,line
, andflex
.I am wondering whether the values can be consolidated, especially
avoid-flex
andflex
seem redundant toavoid-line
andline
.It is also unclear to me what's the difference between
avoid
andavoid-line
. As I understand it, both avoid line breaks before or after an inline-level box or a flex item.Furthermore, the properties may also apply to other boxes in the future like grid items, so maybe a more general keyword than
line
could be used instead, likewrap
.Applying those changes the syntax would then shrink to
auto | avoid | wrap
.Sebastian
The text was updated successfully, but these errors were encountered: