Skip to content

Commit 34fec93

Browse files
committed
Use more precise terminology for 'object-fit'
1 parent 2f9d819 commit 34fec93

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

css3-images/Overview.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,8 +1807,8 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18071807
class=property>object-fit</code></a>&rsquo; property specifies how the
18081808
contents of a replaced element should be scaled relative to the box
18091809
established by its used height and width. It also enables scaling a
1810-
replaced element's contents up to a specified maximum size or down to a
1811-
specified minimum size while preserving its aspect ratio.
1810+
replaced element up to a specified maximum size or down to a specified
1811+
minimum size while preserving its aspect ratio.
18121812

18131813
<p>Not all replaced elements can be scaled, but images typically can.
18141814

@@ -1829,7 +1829,8 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18291829
href="#default-object-size"><i>default object size</i></a> equal to the
18301830
replaced element's used width and height.</p>
18311831

1832-
<p>This will make the contents exactly fill the replaced element's box.</p>
1832+
<p>This will make the contents exactly fill the replaced element's
1833+
content box.</p>
18331834

18341835
<dt>contain
18351836

@@ -1890,7 +1891,8 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18901891
<dd>
18911892
<p>Size the content as if &lsquo;<code class=css>none</code>&rsquo; or
18921893
&lsquo;<code class=css>contain</code>&rsquo; were specified, whichever
1893-
would result in a smaller size.</p>
1894+
would result in a smaller <a href="#concrete-object-size"><i>concrete
1895+
object size</i></a>.</p>
18941896

18951897
<p class=note>Note that both &lsquo;<code class=css>none</code>&rsquo;
18961898
and &lsquo;<code class=css>contain</code>&rsquo; respect the content's

css3-images/Overview.src.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,8 +1174,8 @@ <h3 id="object-fit">
11741174

11751175
<p>The 'object-fit' property specifies how the contents of a replaced element
11761176
should be scaled relative to the box established by its used height and width.
1177-
It also enables scaling a replaced element's contents up to a specified maximum
1178-
size or down to a specified minimum size while preserving its aspect ratio.</p>
1177+
It also enables scaling a replaced element up to a specified maximum size
1178+
or down to a specified minimum size while preserving its aspect ratio.</p>
11791179

11801180
<p>Not all replaced elements can be scaled, but images typically can.</p>
11811181

@@ -1191,7 +1191,8 @@ <h3 id="object-fit">
11911191
a <i>specified size</i> and a <i>default object size</i> equal to the
11921192
replaced element's used width and height.</p>
11931193

1194-
<p>This will make the contents exactly fill the replaced element's box.</p>
1194+
<p>This will make the contents exactly fill the replaced element's
1195+
content box.</p>
11951196
</dd>
11961197

11971198
<dt>contain</dt>
@@ -1237,7 +1238,7 @@ <h3 id="object-fit">
12371238
<dt>scale-down</dt>
12381239
<dd>
12391240
<p>Size the content as if ''none'' or ''contain'' were specified, whichever
1240-
would result in a smaller size.</p>
1241+
would result in a smaller <i>concrete object size</i>.</p>
12411242

12421243
<p class=note>Note that both ''none'' and ''contain'' respect the content's
12431244
intrinsic aspect ratio, so the concept of "smaller" is well-defined.</p>

0 commit comments

Comments
 (0)