@@ -2007,36 +2007,36 @@ <h3 id=object-fit><span class=secno>5.5. </span> Sizing Objects: the
20072007
20082008 < p > The ‘< a href ="#object-fit0 "> < code
20092009 class =property > object-fit</ code > </ a > ’ property specifies how the
2010- contents of a replaced element should be scaled relative to the box
2011- established by its used height and width. Not all replaced elements can be
2012- scaled, but images typically can.
2010+ contents of a replaced element should be fitted to the box established by
2011+ its used height and width.
20132012
20142013 < dl >
20152014 < dt > ‘< code class =css > fill</ code > ’
20162015
2017- < dd > The object's < a href ="#concrete-object-size "> < i > concrete object
2018- size</ i > </ a > is the element's used width and height.
2016+ < dd > The replaced content is sized to fill the element's content box: the
2017+ object's < a href ="#concrete-object-size "> < i > concrete object size</ i > </ a >
2018+ is the element's used width and height.
20192019
20202020 < dt > ‘< code class =css > contain</ code > ’
20212021
2022- < dd > The object's < a href =" #concrete-object-size " > < i > concrete object
2023- size </ i > </ a > is the largest rectangle that has the object's < a
2024- href ="#intrinsic-aspect-ratio "> < i > intrinsic aspect ratio </ i > </ a > , and
2025- additionally has neither width nor height larger than the replaced
2026- element's used width and height, respectively .
2022+ < dd > The replaced content is sized to maintain its aspect ratio while
2023+ fitting within the element's content box: its < a
2024+ href ="#concrete-object-size "> < i > concrete object size </ i > </ a > is resolved
2025+ as a < a href =" #contain-constraint " > < i > contain constraint </ i > </ a > against
2026+ the element's used width and height.
20272027
20282028 < dt > ‘< code class =css > cover</ code > ’
20292029
2030- < dd > The object's < a href =" #concrete-object-size " > < i > concrete object
2031- size </ i > </ a > the smallest rectangle that has the object's < a
2032- href ="#intrinsic-aspect-ratio "> < i > intrinsic aspect ratio </ i > </ a > , and
2033- additionally has neither width nor height smaller than the replaced
2034- element's used width and height, respectively .
2030+ < dd > The replaced content is sized to maintain its aspect ratio while
2031+ filling the element's entire content box: its < a
2032+ href ="#concrete-object-size "> < i > concrete object size </ i > </ a > is resolved
2033+ as a < a href =" #cover-constraint " > < i > cover constraint </ i > </ a > against the
2034+ element's used width and height.
20352035
20362036 < dt > ‘< code class =css > none</ code > ’
20372037
2038- < dd > Don't resize the replaced content to fit the element's used width and
2039- height : determine the object's < a
2038+ < dd > The replaced content is not resized to fit inside the element's
2039+ content box : determine the object's < a
20402040 href ="#concrete-object-size "> < i > concrete object size</ i > </ a > using the < a
20412041 href ="#default-sizing-algorithm "> < i > default sizing algorithm</ i > </ a > with
20422042 no specified size, and a < a href ="#default-object-size "> < i > default object
@@ -2055,12 +2055,6 @@ <h3 id=object-fit><span class=secno>5.5. </span> Sizing Objects: the
20552055 intrinsic aspect ratio, so the concept of "smaller" is well-defined.</ p >
20562056 </ dl >
20572057
2058- < p > If the replaced element's content does not have an < a
2059- href ="#intrinsic-aspect-ratio "> < i > intrinsic aspect ratio</ i > </ a > , the
2060- ‘< code class =css > cover</ code > ’ and ‘< code
2061- class =css > contain</ code > ’ values are treated as ‘< code
2062- class =css > fill</ code > ’.
2063-
20642058 < p > If the content does not completely fill the replaced element's content
20652059 box, the unfilled space shows the replaced element's background. Since
20662060 replaced elements always clip their contents to the content box, the
0 commit comments