@@ -1150,6 +1150,13 @@ <h3 id="object-fit">
11501150
11511151 < dt > contain</ dt >
11521152 < dd >
1153+ < p > Determine the used ‘height’ and ‘width’ of the element as usual,
1154+ except if both ‘height’ and ‘width’ are ‘auto’, and the used value of at
1155+ least one of ‘max-width’ and ‘max-height’ is not ‘none’, then compute
1156+ the element's used width and used height as though the intrinsic
1157+ dimensions of the contents were infinitely large numbers whose ratio
1158+ is the actual intrinsic ratio of the contents.</ p >
1159+
11531160 < p > Set the content's size to the largest width and height that has the
11541161 same aspect ratio as the content's intrinsic aspect ratio, and additionally
11551162 has neither width nor height larger than the replaced element's used
@@ -1158,6 +1165,13 @@ <h3 id="object-fit">
11581165
11591166 < dt > cover</ dt >
11601167 < dd >
1168+ < p > Determine the used ‘height’ and ‘width’ of the element as usual,
1169+ except if both ‘height’ and ‘width’ are ‘auto’, and the used value of at
1170+ least one of ‘min-width’ and ‘min-height’ is not ‘none’, then compute
1171+ the element's used width and used height as though the intrinsic
1172+ dimensions of the contents were infinitely small numbers whose ratio
1173+ is the actual intrinsic ratio of the contents.</ p >
1174+
11611175 < p > Set the content's size to the smallest width and height that has
11621176 the same aspect ratio as the content's intrinsic aspect ratio, and
11631177 additionally has neither width nor height smaller than the replaced
0 commit comments