Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-text][css-flexbox][css-grid] Rethinking values for wrap-before and wrap-after #4035

Open
SebastianZ opened this issue Jun 14, 2019 · 0 comments

Comments

@SebastianZ
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants