@@ -2052,41 +2052,13 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
20522052
20532053 < dt > ‘< code class =css > contain</ code > ’
20542054
2055- < dd >
2056- < p > Determine the used ‘< code class =property > height</ code > ’
2057- and ‘< code class =property > width</ code > ’ of the element as
2058- usual, except: If both ‘< code class =property > height</ code > ’
2059- and ‘< code class =property > width</ code > ’ are ‘< code
2060- class =css > auto</ code > ’, and the used value of at least one of
2061- ‘< code class =property > max-width</ code > ’ and ‘< code
2062- class =property > max-height</ code > ’ is not ‘< code
2063- class =css > none</ code > ’, then compute the element's used width and
2064- used height as though the intrinsic dimensions of the contents were
2065- infinitely large numbers whose ratio is the actual intrinsic ratio of
2066- the contents. This will proportionally scale the used width and height
2067- up to the given maximum constraints.</ p >
2068-
2069- < p > The object's < a href ="#specified-size "> < i > specified size</ i > </ a > is a
2070- "contain" constraint.</ p >
2055+ < dd > The object's < a href ="#specified-size "> < i > specified size</ i > </ a > is a
2056+ "contain" constraint.
20712057
20722058 < dt > ‘< code class =css > cover</ code > ’
20732059
2074- < dd >
2075- < p > Determine the used ‘< code class =property > height</ code > ’
2076- and ‘< code class =property > width</ code > ’ of the element as
2077- usual, except: If both ‘< code class =property > height</ code > ’
2078- and ‘< code class =property > width</ code > ’ are ‘< code
2079- class =css > auto</ code > ’, and the used value of at least one of
2080- ‘< code class =property > min-width</ code > ’ and ‘< code
2081- class =property > min-height</ code > ’ is not ‘< code
2082- class =css > none</ code > ’, then compute the element's used width and
2083- used height as though the intrinsic dimensions of the contents were
2084- infinitely small numbers whose ratio is the actual intrinsic ratio of
2085- the contents. This will proportionally scale the used width and height
2086- down to the given minimum constraints.</ p >
2087-
2088- < p > The object's < a href ="#specified-size "> < i > specified size</ i > </ a > is a
2089- "cover" constraint.</ p >
2060+ < dd > The object's < a href ="#specified-size "> < i > specified size</ i > </ a > is a
2061+ "cover" constraint.
20902062
20912063 < dt > ‘< code class =css > none</ code > ’
20922064
0 commit comments