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

gitspeaks has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-3] Clarify auto value computation for width and height of inline elements ==
According to [CSS Box Sizing Module Level 3, Section 3.2](https://www.w3.org/TR/css-sizing-3/#sizing-values):

> `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](https://www.w3.org/TR/css-inline-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](https://drafts.csswg.org/css2/#inline-width): "The `width` property does not apply."
   - [10.6.1](https://drafts.csswg.org/css2/#inline-non-replaced): "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](https://drafts.csswg.org/css2/#inline-replaced-width) and [10.6.2](https://drafts.csswg.org/css2/#inline-replaced-height)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11268 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 24 November 2024 09:41:38 UTC