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-4] error in text-spacing-trim: space-first definition #9532

Closed
MurakamiShinyu opened this issue Oct 27, 2023 · 1 comment
Closed

Comments

@MurakamiShinyu
Copy link
Collaborator

https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-first

Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container. Otherwise as trim-auto (unless allow-end is also specified).

I think this should be:

Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line of the block container and each line after a forced line break. Otherwise as trim-auto (unless allow-end is also specified).

"and each line after a forced line break" is necessary in this definition because the space-first value exists for compat requirements for existing content, where often <br> is used to separate paragraphs. See: #9511 (comment)

@fantasai
Copy link
Collaborator

Thanks for catching this regression, fixed.

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

3 participants