Skip to content

[css-logical-props] percentages need better definition #800

Closed
@cbiesinger

Description

@cbiesinger

https://drafts.csswg.org/css-logical-props/#propdef-min-block-size

That section (and others) says:

Percentages: block-size/inline-size, respectively, of containing block

However, this is a bit underdefined IMO:

  • A strict reading of that line implies that a min-block-size percentage gets resolved to the parent's block-size property. However, if the parent has an orthogonal writing mode relative to the child, this property actually maps to the inline-size, right?

  • Also, does this need a more explicit mention that percentages only resolve relative to definite sizes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions