-
Notifications
You must be signed in to change notification settings - Fork 671
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] text-align-last: match-parent; is not well defined #7331
Comments
Fwiw, no browser supports @fantasai Do you know where this was added? |
Isn't this defined in https://drafts.csswg.org/css-text/#valdef-text-align-match-parent ?
The behavior would be like for |
That's for |
But in the spec
It's not the parent of the last line. If the block container is element-generated, then it's the parent element of the element that generates that block container. If it's anonymous, it's the parent box of the block container (see https://drafts.csswg.org/css-display-3/#anonymous). The root element has no parent. So the inherited value is the initial value,
Yeah, I guess |
@nt1m Given Oriol's explanations and the edits, do we need any further edits here? |
Sounds good. |
It's not clear what
text-align-last: match-parent
should do from a web developer perspective, and also ambiguous how this should work on the:root
element. Can this be clarified in the spec?The text was updated successfully, but these errors were encountered: