Skip to content

Commit 754392b

Browse files
committed
[css-sizing-4] Use 'box-sizing' box for explicit aspect ratios, content-box for intrinsic ones. w3c#4007
1 parent c75acd5 commit 754392b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

css-sizing-4/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,16 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
9898
<a>Replaced elements</a> with an <a>intrinsic aspect ratio</a>
9999
use that aspect ratio;
100100
otherwise the box has no <a>preferred aspect ratio</a>.
101+
Size calculations involving <a>intrinsic aspect ratio</a>
102+
work with the <a>content box</a> dimensions always.
101103

102104
<dt><dfn><<ratio>></dfn>
103105
<dd>
104106
The box’s <a>preferred aspect ratio</a> is the specified ratio
105107
of ''<var>width</var> / <var>height</var>''.
108+
Size calculations involving <a>preferred aspect ratio</a>
109+
work with the dimensions of the box specified by 'box-sizing'.
110+
106111
</dl>
107112

108113
Note: If a box has both a 'width' and a 'height'

0 commit comments

Comments
 (0)