Skip to content

Commit 0ee14ed

Browse files
committed
Preparing draft for WD publication, so removing some recently-added values in object-fit.
1 parent 813ac8e commit 0ee14ed

2 files changed

Lines changed: 42 additions & 20 deletions

File tree

css3-images/Overview.html

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,7 @@ <h3 id=object-fit><span class=secno>6.4. </span>Sizing Replaced Elements:
16331633
<tr>
16341634
<th>Value:
16351635

1636-
<td>fill | contain | cover | none | scale-down
1636+
<td>fill | contain | cover
16371637

16381638
<tr>
16391639
<th>Initial:
@@ -1731,23 +1731,21 @@ <h3 id=object-fit><span class=secno>6.4. </span>Sizing Replaced Elements:
17311731
the smallest size such that the width of the contents is greater than
17321732
or equal to the used width of the box and the height of the contents
17331733
is greater than or equal to the height of the box.</p>
1734-
1735-
<dt>none
1736-
1737-
<dd>
1738-
<p>Determine the used &lsquo;<code class=property>height</code>&rsquo;
1739-
and &lsquo;<code class=property>width</code>&rsquo; <a
1740-
href="/TR/CSS21/visudet.html">as usual</a>. If the content has an
1741-
intrinsic height and width, do not scale it. Otherwise, this value
1742-
must be treated as &lsquo;<code class=css>fill</code>&rsquo;.</p>
1743-
1744-
<dt>scale-down <b class=issue>better name?</b>
1745-
1746-
<dd>
1747-
<p>This value must act identically to &lsquo;<code
1748-
class=css>none</code>&rsquo; or &lsquo;<code
1749-
class=css>contain</code>&rsquo;, whichever would make the contents
1750-
smaller.</p>
1734+
</dd>
1735+
<!-- Commented out for WD publication
1736+
<dt>none</dt>
1737+
<dd>
1738+
<p>Determine the used &lsquo;<code class=property>height</code>&rsquo; and &lsquo;<code class=property>width</code>&rsquo; <a href="/TR/CSS21/visudet.html">as
1739+
usual</a>. If the content has an intrinsic height and width, do not
1740+
scale it. Otherwise, this value must be treated as &lsquo;<code class=css>fill</code>&rsquo;.</p>
1741+
</dd>
1742+
1743+
<dt>scale-down <b class=issue>better name?</b></dt>
1744+
<dd>
1745+
<p>This value must act identically to &lsquo;<code class=css>none</code>&rsquo; or &lsquo;<code class=css>contain</code>&rsquo;, whichever
1746+
would make the contents smaller.</p>
1747+
</dd>
1748+
-->
17511749
</dl>
17521750

17531751
<p>The &lsquo;<code class=property>overflow</code>&rsquo; property
@@ -1775,6 +1773,13 @@ <h3 id=object-fit><span class=secno>6.4. </span>Sizing Replaced Elements:
17751773
class=property>object-fit</code></a>&rsquo; property has similar
17761774
semantics to the fit attribute in <a href="#SMIL10"
17771775
rel=biblioentry>[SMIL10]<!--{{SMIL10}}--></a>.</p>
1776+
1777+
<p>User agents MAY accept &lsquo;<code
1778+
class=property>image-fit</code>&rsquo; as an alias for &lsquo;<a
1779+
href="#object-fit0"><code class=property>object-fit</code></a>&rsquo;,
1780+
as a previous version of this specification used that name. Authors must
1781+
not use &lsquo;<code class=property>image-fit</code>&rsquo; in their
1782+
stylesheets.</p>
17781783
</div>
17791784

17801785
<div>
@@ -1838,6 +1843,13 @@ <h3 id=object-position><span class=secno>6.5. </span>Positioning Replaced
18381843

18391844
<p class=note>Note that areas of the box not covered by the replaced
18401845
element will show the element's background.</p>
1846+
1847+
<p>User agents MAY accept &lsquo;<code
1848+
class=property>image-position</code>&rsquo; as an alias for &lsquo;<a
1849+
href="#object-position0"><code
1850+
class=property>object-position</code></a>&rsquo;, as a previous version
1851+
of this specification used that name. Authors must not use &lsquo;<code
1852+
class=property>image-position</code>&rsquo; in their stylesheets.</p>
18411853
</div>
18421854
</div>
18431855

css3-images/Overview.src.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
11651165
<td><dfn>object-fit</dfn>
11661166
<tr>
11671167
<th>Value:
1168-
<td>fill | contain | cover | none | scale-down
1168+
<td>fill | contain | cover
11691169
<tr>
11701170
<th>Initial:
11711171
<td>fill
@@ -1225,6 +1225,7 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
12251225
usual</a>, except if both 'height' and 'width' are ''auto'', and the used value
12261226
of at least one of 'min-width' and 'min-height' is not ''0'', then compute the
12271227

1228+
12281229
used width and used height of the element as though the intrinsic dimensions of
12291230
the contents were infinitesimally small numbers whose ratio is the actual
12301231
intrinsic ratio of the contents.</p>
@@ -1233,7 +1234,7 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
12331234
the used width of the box and the height of the contents is greater than or
12341235
equal to the height of the box.</p>
12351236
</dd>
1236-
1237+
<!-- Commented out for WD publication
12371238
<dt>none</dt>
12381239
<dd>
12391240
<p>Determine the used 'height' and 'width' <a href="/TR/CSS21/visudet.html">as
@@ -1246,6 +1247,7 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
12461247
<p>This value must act identically to ''none'' or ''contain'', whichever
12471248
would make the contents smaller.</p>
12481249
</dd>
1250+
-->
12491251
</dl>
12501252

12511253
<p>The 'overflow' property determines how to render parts of the replaced
@@ -1265,6 +1267,10 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
12651267

12661268
<p class="note">Note: the 'object-fit' property has similar semantics to
12671269
the fit attribute in [[SMIL10]].</p>
1270+
1271+
<p>User agents MAY accept 'image-fit' as an alias for 'object-fit', as a
1272+
previous version of this specification used that name. Authors must not
1273+
use 'image-fit' in their stylesheets.</p>
12681274
</div>
12691275

12701276
<div>
@@ -1306,6 +1312,10 @@ <h3 id="object-position">Positioning Replaced Images: The 'object-position' Prop
13061312

13071313
<p class="note">Note that areas of the box not covered by the replaced
13081314
element will show the element's background.</p>
1315+
1316+
<p>User agents MAY accept 'image-position' as an alias for 'object-position', as a
1317+
previous version of this specification used that name. Authors must not
1318+
use 'image-position' in their stylesheets.</p>
13091319
</div>
13101320
</div>
13111321

0 commit comments

Comments
 (0)