Skip to content

[css-gaps] More vertical-writing cases #13648

Closed

Description

@xfq

https://www.w3.org/TR/2026/WD-css-gaps-1-20260227/

I did not find explicit prose covering writing-mode interactions, and the spec text does not surface vertical-writing cases. It should add more spec text and WPT coverage for writing-mode: vertical-rl, and writing-mode: vertical-lr, like for *-inset-start/*-inset-end.

Activity

  1. added
    i18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.
    on Mar 13, 2026
  2. kbabbitt commented on Mar 26, 2026

    @kbabbitt
    Collaborator

    Thanks for the comments. My general intent in the Gaps spec is to defer to the specification of the container layout to determine what column and row mean, taking into account writing-mode.

    I've drafted some normative changes to make this more explicit: #13732
    And written some WPTs: https://chromium-review.googlesource.com/c/chromium/src/+/7705401

    @xfq do these changes address your concern?

  3. self-assigned this
    on Mar 26, 2026
  4. 5 remaining items

  5. astearns commented on Apr 13, 2026

    @astearns
    Member

    RESOLVED: Accept edits defining writing mode and direction interactions with gap decorations

  6. kbabbitt commented on Apr 13, 2026

    @kbabbitt
    Collaborator

    Test cases were added in web-platform-tests/wpt#58861

  7. fantasai commented on Apr 29, 2026

    @fantasai
    Collaborator

    @kbabbitt Please use [=writing mode=] rather than "writing mode and text direction", since the writing mode takes also text-orientation into account.

  8. kbabbitt commented on Apr 29, 2026

    @kbabbitt
    Collaborator

    @xfq would you be okay with the change suggested by @fantasai above? This would link to the definition of writing mode which calls out the direction property but not the HTML dir attribute. Related discussion: #13732 (comment)

    I don't have a strong opinion on the details here, as long as all parties are happy with the outcome.

  9. xfq commented on Apr 30, 2026

    @xfq
    MemberAuthor

    If the definition of writing mode also includes the inline LTR/RTL direction, I have no problem.

  10. kbabbitt commented on Apr 30, 2026

    @kbabbitt
    Collaborator

    The definition of writing mode mentions "the inherent directionality of any text content" which seems to me like covers that. Pushed the change; please let me know if I missed something.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions