Skip to content

Commit 8991879

Browse files
committed
Fix example better
1 parent bc470bd commit 8991879

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

css3-images/Overview.html

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

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

19-
<h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 10 January
19+
<h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 4 January
2020
2012</h2>
2121

2222
<dl>
2323
<dt>This Version:</dt>
2424
<!--<dd><a href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a>-->
2525

2626
<dd><a
27-
href="http://www.w3.org/TR/2012/WD-css3-images-20120110/">http://www.w3.org/TR/2012/WD-css3-images-20120110/</a>
27+
href="http://www.w3.org/TR/2012/WD-css3-images-20120104/">http://www.w3.org/TR/2012/WD-css3-images-20120104/</a>
2828

2929

3030
<dt>Latest Version:
@@ -880,13 +880,9 @@ <h2 id=gradients><span class=secno>4. </span> Gradients</h2>
880880
dimensions</i></a>.
881881

882882
<div class=example>
883-
<p>An image without intrinsic dimensions will always fill its painting
884-
area perfectly. For example, if you use a gradient in &lsquo;<code
885-
class=property>background-image</code>&rsquo; with &lsquo;<code
886-
class=property>background-size</code>&rsquo; and &lsquo;<code
887-
class=property>background-clip</code>&rsquo; set to their defaults, the
888-
gradient will fill the element's background positioning area (sized to
889-
the element's padding box). If &lsquo;<code
883+
<p>For example, if you use a gradient as a background, by default the
884+
gradient will draw into a <a href="#gradient-box"><i>gradient box</i></a>
885+
the size of the element's padding box. If &lsquo;<code
890886
class=property>background-size</code>&rsquo; is explicitly set to a value
891887
such as &lsquo;<code class=css>100px 200px</code>&rsquo;, then the <a
892888
href="#gradient-box"><i>gradient box</i></a> will be 100px wide and 200px

css3-images/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ <h2 id="gradients">
491491
object size</i>, referred to as the <dfn>gradient box</dfn>. However, the gradient itself has no <i>intrinsic dimensions</i>.</p>
492492

493493
<div class='example'>
494-
<p>An image without intrinsic dimensions will always fill its painting area perfectly. For example, if you use a gradient in 'background-image' with 'background-size' and 'background-clip' set to their defaults, the gradient will fill the element's background positioning area (sized to the element's padding box). If 'background-size' is explicitly set to a value such as ''100px 200px'', then the <i>gradient box</i> will be 100px wide and 200px tall. Similarly, for a gradient used as a 'list-style-image', the box would be a 1em square, which is the <i>default object size</i> for that property.</p>
494+
<p>For example, if you use a gradient as a background, by default the gradient will draw into a <i>gradient box</i> the size of the element's padding box. If 'background-size' is explicitly set to a value such as ''100px 200px'', then the <i>gradient box</i> will be 100px wide and 200px tall. Similarly, for a gradient used as a 'list-style-image', the box would be a 1em square, which is the <i>default object size</i> for that property.</p>
495495
</div>
496496

497497
<!-- ====================================================================== -->

0 commit comments

Comments
 (0)