8000 Tweaked the version links. · xfq/csswg-drafts@a958aa3 · GitHub
Skip to content

Commit a958aa3

Browse files
committed
Tweaked the version links.
Added the object-fit example picture.
1 parent f993023 commit a958aa3

4 files changed

Lines changed: 51 additions & 43 deletions

File tree

css3-images/Overview.html

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,27 @@
2222

2323
<h1>CSS Image Values and Replaced Content Module Level 3</h1>
2424

25-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 January
25+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 27 January
2626
2011</h2>
2727

2828
<dl>
29-
<dt>This version:</dt>
30-
<!-- <dd><a href="http://www.w3.org/TR/2011/CR-css3-images-20110126/">http://www.w3.org/TR/2011/CR-css3-images-20110126/</a></dd> -->
29+
<dt>Latest Version:</dt>
30+
<!-- <dd><a href="http://www.w3.org/TR/2011/CR-css3-images-20110127/">http://www.w3.org/TR/2011/CR-css3-images-20110127/</a></dd> -->
3131

3232
<dd><a
3333
href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a>
34-
<!-- <dt>Latest version:</dt>
35-
<dd><a href="http://www.w3.org/TR/css3-images/">http://www.w3.org/TR/css3-images/</a></dd>
36-
<dt>Previous version:</dt>
37-
<dd><a href="http://www.w3.org/TR/2008/CR-css3-namespace-20080523/">http://www.w3.org/TR/2008/CR-css3-namespace-20080523/</a></dd> -->
3834

3935

36+
<dt>Latest Working Draft:
37+
38+
<dd><a
39+
href="http://www.w3.org/TR/css3-images/">http://www.w3.org/TR/css3-images/</a>
40+
41+
<dt>Previous Working Draft:
42+
43+
<dd><a
44+
href="http://www.w3.org/TR/2009/WD-css3-images-20090723/">http://www.w3.org/TR/2009/WD-css3-images-20090723/</a>
45+
4046
<dt>Editor:
4147

4248
<dd><a href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a>
@@ -1319,7 +1325,7 @@ <h2 id=sizing><span class=secno>6. </span>Sizing Images and Objects in CSS</h2>
13191325
the dimensions of the CSS View Box in some way, or even render itself
13201326
larger or smaller than the CSS View Box to satisfy sizing constraints of
13211327
its own.</p>
1322-
<!-- copied from GCPM -->
1328+
13231329
<div>
13241330
<h3 id=image-resolution><span class=secno>6.1. </span>Overriding Image
13251331
Resolutions: the &lsquo;<a href="#image-resolution1"><code
@@ -1627,7 +1633,7 @@ <h3 id=object-fit><span class=secno>6.4. </span>Sizing Replaced Elements:
16271633
<tr>
16281634
<th>Value:
16291635

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

16321638
<tr>
16331639
<th>Initial:
@@ -1751,20 +1757,8 @@ <h3 id=object-fit><span class=secno>6.4. </span>Sizing Replaced Elements:
17511757
class=property>object-position</code></a>&rsquo; property for
17521758
positioning the object with respect to the element's box.</p>
17531759

1754-
<p class=issue>Do we need to allow browsers to alias &lsquo;<code
1755-
class=property>image-position</code>&rsquo; and &lsquo;<code
1756-
class=property>image-fit</code>&rsquo; (the old names for these
1757-
properties) to these properties? Does any browser actually need to do
1758-
so?</p>
1759-
1760-
<p class=note>Note: the &lsquo;<a href="#object-fit0"><code
1761-
class=property>object-fit</code></a>&rsquo; property has similar
1762-
semantics to the fit attribute in <a href="#SMIL10"
1763-
rel=biblioentry>[SMIL10]<!--{{SMIL10}}--></a>.</p>
1764-
17651760
<div class=figure>
1766-
<p><img alt="Illustration of the four values" src="img_scale.png"
1767-
style="width: 70%; border: thin solid black;"></p>
1761+
<p><img alt="" src="img_scale.png" style="border: thin solid black;"></p>
17681762

17691763
<p class=caption> An example showing how each of the four values of
17701764
&lsquo;<a href="#object-fit0"><code
@@ -1776,6 +1770,17 @@ <h3 id=object-fit><span class=secno>6.4. </span>Sizing Replaced Elements:
17761770
&lsquo;<a href="#object-position0"><code
17771771
class=property>object-position</code></a>&rsquo;.</p>
17781772
</div>
1773+
1774+
<p class=issue>Do we need to allow browsers to alias &lsquo;<code
1775+
class=property>image-position</code>&rsquo; and &lsquo;<code
1776+
class=property>image-fit</code>&rsquo; (the old names for these
1777+
properties) to these properties? Does any browser actually need to do
1778+
so?</p>
1779+
1780+
<p class=note>Note: the &lsquo;<a href="#object-fit0"><code
1781+
class=property>object-fit</code></a>&rsquo; property has similar
1782+
semantics to the fit attribute in <a href="#SMIL10"
1783+
rel=biblioentry>[SMIL10]<!--{{SMIL10}}--></a>.</p>
17791784
</div>
17801785

17811786
<div>

css3-images/Overview.src.html

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ <h1>CSS Image Values and Replaced Content Module Level 3</h1>
2222

2323
<h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
2424
<dl>
25-
<dt>This version:</dt>
26-
<!-- <dd><a href="http://www.w3.org/TR/[YEAR]/CR-css3-images-[CDATE]/">http://www.w3.org/TR/[YEAR]/CR-css3-images-[CDATE]/</a></dd> -->
27-
<dd><a href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a>
28-
<!-- <dt>Latest version:</dt>
29-
<dd><a href="http://www.w3.org/TR/css3-images/">http://www.w3.org/TR/css3-images/</a></dd>
30-
<dt>Previous version:</dt>
31-
<dd><a href="http://www.w3.org/TR/2008/CR-css3-namespace-20080523/">http://www.w3.org/TR/2008/CR-css3-namespace-20080523/</a></dd> -->
32-
<dt>Editor:</dt>
33-
<dd><a href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a></dd>
34-
<dd><a href="http://www.xanthir.com/contact">Tab Atkins Jr.</a></dd>
25+
<dt>Latest Version:</dt>
26+
<!-- <dd><a href="http://www.w3.org/TR/[YEAR]/CR-css3-images-[CDATE]/">http://www.w3.org/TR/[YEAR]/CR-css3-images-[CDATE]/</a></dd> -->
27+
<dd><a href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a>
28+
29+
<dt>Latest Working Draft:</dt>
30+
<dd><a href="http://www.w3.org/TR/css3-images/">http://www.w3.org/TR/css3-images/</a></dd>
31+
32+
<dt>Previous Working Draft:</dt>
33+
<dd><a href="http://www.w3.org/TR/2009/WD-css3-images-20090723/">http://www.w3.org/TR/2009/WD-css3-images-20090723/</a></dd>
34+
35+
<dt>Editor:</dt>
36+
<dd><a href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a></dd>
37+
<dd><a href="http://www.xanthir.com/contact">Tab Atkins Jr.</a></dd>
3538
</dl>
3639
<!--begin-copyright-->
3740
<p>[Here will be included the file "../copyright.inc"]</p>
@@ -935,7 +938,7 @@ <h2 id="sizing">Sizing Images and Objects in CSS</h2>
935938
way, or even render itself larger or smaller than the CSS View Box to satisfy
936939
sizing constraints of its own.</p>
937940

938-
<!-- copied from GCPM -->
941+
939942
<div>
940943
<h3 id="image-resolution">Overriding Image Resolutions: the 'image-resolution' property</h3>
941944

@@ -1162,7 +1165,7 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
11621165
<td><dfn>object-fit</dfn>
11631166
<tr>
11641167
<th>Value:
1165-
<td>fill | contain | cover | none
1168+
<td>fill | contain | cover | none | scale-down
11661169
<tr>
11671170
<th>Initial:
11681171
<td>fill
@@ -1249,22 +1252,22 @@ <h3 id="object-fit">Sizing Replaced Elements: The 'object-fit' Property</h3>
12491252
'object-position' property for positioning the object with respect to the
12501253
element's box.</p>
12511254

1252-
<p class=issue>Do we need to allow browsers to alias 'image-position' and 'image-fit'
1253-
(the old names for these properties) to these properties? Does any browser actually
1254-
need to do so?</p>
1255-
1256-
<p class="note">Note: the 'object-fit' property has similar semantics to
1257-
the fit attribute in [[SMIL10]].</p>
1258-
12591255
<div class="figure">
1260-
<p><img src="img_scale.png" style="width: 70%; border: thin solid black;"
1261-
alt="Illustration of the four values"></p>
1256+
<p><img src="img_scale.png" style="border: thin solid black;"
1257+
alt=""></p>
12621258
<p class="caption">
12631259
An example showing how each of the four values of 'object-fit' causes the
12641260
replaced element (blue figure) to be scaled to fit its height/width box (shown
12651261
with a green background), with overflow 'visible' and 'hidden', using the
12661262
initial value for 'object-position'.</p>
12671263
</div>
1264+
1265+
<p class=issue>Do we need to allow browsers to alias 'image-position' and 'image-fit'
1266+
(the old names for these properties) to these properties? Does any browser actually
1267+
need to do so?</p>
1268+
1269+
<p class="note">Note: the 'object-fit' property has similar semantics to
1270+
the fit attribute in [[SMIL10]].</p>
12681271
</div>
12691272

12701273
<div>
-74.1 KB
Binary file not shown.

css3-images/img_scale.png

16.3 KB
Loading

0 commit comments

Comments
 (0)