Skip to content

[css-text-4] error in text-spacing-trim: space-first definition #9532

Closed

Description

@MurakamiShinyu

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)

Activity

  1. fantasai commented on Nov 13, 2023

    @fantasai
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址