You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
@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.
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.
Activity
[css-gaps-1] Clarify application of writing-mode and direction to gap…
kbabbitt commentedon Mar 26, 2026
Thanks for the comments. My general intent in the Gaps spec is to defer to the specification of the container layout to determine what
columnandrowmean, taking into accountwriting-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?
[css-gaps] Add WPTs for direction and writing-mode
[css-gaps] Add WPTs for direction and writing-mode
[css-gaps] Add WPTs for direction and writing-mode
[css-gaps] Add WPTs for direction and writing-mode
[css-gaps] Add WPTs for direction and writing-mode
[css-gaps-1] Clarify application of writing-mode and direction to gap…
5 remaining items
astearns commentedon Apr 13, 2026
RESOLVED: Accept edits defining writing mode and direction interactions with gap decorations
[css-gaps-1] Clarify application of writing-mode and direction to gap…
kbabbitt commentedon Apr 13, 2026
Test cases were added in web-platform-tests/wpt#58861
Bug 2028114 [wpt PR 58861] - [css-gaps] Add WPTs for direction and wr…
fantasai commentedon Apr 29, 2026
@kbabbitt Please use
[=writing mode=]rather than "writing mode and text direction", since the writing mode takes alsotext-orientationinto account.kbabbitt commentedon Apr 29, 2026
@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
directionproperty but not the HTMLdirattribute. 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.
xfq commentedon Apr 30, 2026
If the definition of writing mode also includes the inline LTR/RTL direction, I have no problem.
[css-gaps-1][editorial] Link to definition of writing mode. #13648
kbabbitt commentedon Apr 30, 2026
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.
Bug 2028114 [wpt PR 58861] - [css-gaps] Add WPTs for direction and wr…