Skip to content

Commit 5f1aeaf

Browse files
committed
Give a human-readable explanation of what 'object-fit: none' does.
1 parent eb9898f commit 5f1aeaf

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

css3-images/Overview.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
<h1>CSS Image Values and Replaced Content Module Level 3</h1>
1818

19-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 March 2012</h2>
19+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 24 March 2012</h2>
2020

2121
<dl>
2222
<dt>This Version:
2323

2424
<dd><a
2525
href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a>
26-
<!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-images-20120323/">http://www.w3.org/TR/2012/WD-css3-images-20120323/</a>-->
26+
<!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-images-20120324/">http://www.w3.org/TR/2012/WD-css3-images-20120324/</a>-->
2727

2828

2929
<dt>Latest Version:
@@ -2056,8 +2056,9 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
20562056

20572057
<dt>&lsquo;<code class=css>none</code>&rsquo;
20582058

2059-
<dd>Determine the object's <a href="#concrete-object-size"><i>concrete
2060-
object size</i></a> using the <a
2059+
<dd>Don't resize the replaced content to fit the element's used width and
2060+
height: determine the object's <a
2061+
href="#concrete-object-size"><i>concrete object size</i></a> using the <a
20612062
href="#default-sizing-algorithm"><i>default sizing algorithm</i></a> with
20622063
no specified size, and a <a href="#default-object-size"><i>default object
20632064
size</i></a> equal to the replaced element's used width and height.

css3-images/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,8 @@ <h3 id="object-fit">
12451245
respectively.</dd>
12461246

12471247
<dt>''none''</dt>
1248-
<dd>Determine the object's <i>concrete object size</i> using the
1248+
<dd>Don't resize the replaced content to fit the element's used width and
1249+
height: determine the object's <i>concrete object size</i> using the
12491250
<i>default sizing algorithm</i> with no specified size, and a
12501251
<i>default object size</i> equal to the replaced element's used width and
12511252
height.</dd>

0 commit comments

Comments
 (0)