Skip to content

[css-writing-modes] Does vertical writing mode of an HTML body element cause an orthogonal flow? #3066

Closed
@nanto

Description

@nanto

https://drafts.csswg.org/css-writing-modes-3/#principal-flow

As a special case for handling HTML documents, if the root element has a body child element [HTML], the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Note that this does not affect the values of writing-mode or direction on the root element itself.

When applying writing-mode: vertical-rl to body, html has writing-mode value horizontal-tb (initial value) according to the note and there happens an orthogonal flow between html and body?

Each browsers behave differently about this:

According to the old spec text, an orthogonal flow can't happen.

The propagated values are treated as if they were specified on the root element.

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