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:
-
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."
-
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
According to CSS Box Sizing Module Level 3, Section 3.2:
However:
The CSS Inline Layout Module Level 3 does not explicitly state that the
widthandheightproperties do not apply to non-replaced inline elements, as is explicitly specified in CSS2 Sections:widthproperty does not apply."heightproperty does not apply."The specification also does not define the behavior of
autovalues forwidthandheightof inline replaced elements, as described in CSS2 Sections 10.3.2 and 10.6.2