Skip to content

[css-sizing-3] Clarify auto value computation for width and height of inline elements #11268

Description

@gitspeaks

According to CSS Box Sizing Module Level 3, Section 3.2:

auto - For width/height, specifies an automatic size (automatic block size / automatic inline size). See the relevant layout module for how to calculate this.

However:

  1. The CSS Inline Layout Module Level 3 does not explicitly state that the width and height properties do not apply to non-replaced inline elements, as is explicitly specified in CSS2 Sections:

    • 10.3.1: "The width property does not apply."
    • 10.6.1: "The height property does not apply."
  2. The specification also does not define the behavior of auto values for width and height of inline replaced elements, as described in CSS2 Sections 10.3.2 and 10.6.2

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