Skip to content

Commit 0cfaaac

Browse files
committed
Add a reference to default object size .
1 parent 2e9db14 commit 0cfaaac

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

css3-images/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,10 @@ <h2 id=gradients><span class=secno>4. </span> Gradients</h2>
874874
class=property>background-size</code>&rsquo; is explicitly set to a value
875875
such as &lsquo;<code class=css>100px 200px</code>&rsquo;, then the <a
876876
href="#gradient-box"><i>gradient box</i></a> will be 100px wide and 200px
877-
tall. Similarly, for a gradient used as a list-style-image, the box would
878-
be a 1em square.</p>
877+
tall. Similarly, for a gradient used as a &lsquo;<code
878+
class=property>list-style-image</code>&rsquo;, the box would be a 1em
879+
square, which is the <a href="#default-object-size"><i>default object
880+
size</i></a> for that property.</p>
879881
</div>
880882
<!-- ====================================================================== -->
881883

css3-images/Overview.src.html

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

486486
<div class='example'>
487-
<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' set to its default, the gradient will fill 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.</p>
487+
<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' set to its default, the gradient will fill 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>
488488
</div>
489489

490490
<!-- ====================================================================== -->

0 commit comments

Comments
 (0)