diff --git a/css-contain-2/Overview.bs b/css-contain-2/Overview.bs index ca832c0bef1..86d25489d7d 100644 --- a/css-contain-2/Overview.bs +++ b/css-contain-2/Overview.bs @@ -46,6 +46,10 @@ spec:css-sizing-4; type:property; text:contain-intrinsic-size spec:css-sizing-4; type:property; text:aspect-ratio spec:intersection-observer; type:dfn; text:intersection root spec:css-sizing-3; type:value; for:height; text:auto +spec:css-sizing-3; type:property; text:width +spec:css-sizing-3; type:property; text:height +spec:css-sizing-3; type:value; for:width; text:min-content +spec:css-sizing-3; type:value; for:width; text:max-content
+ Replaced elements must be treated as having an intrinsic width and height of 0 + and no [=intrinsic aspect ratio=]. - If the 'aspect-ratio' property had not been declared, - the image would have been 100px by 0px, - as its intrinsic aspect ratio is suppressed, - and its intrinsic height is treated as 0. -- img { - width: 100px; - aspect-ratio: 1/1; - contain: size; - } -
- <img src="https://www.example.com/300x100.jpg"> -
+ + If the 'aspect-ratio' property had not been declared, + the image would have been 100px by 0px, + as its intrinsic aspect ratio is suppressed, + and its intrinsic height is treated as 0. ++ img { + width: 100px; + aspect-ratio: 1/1; + contain: size; + } +
+ <img src="https://www.example.com/300x100.jpg"> +