- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Jan 2012 00:38:26 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv19461 Modified Files: Overview.html Overview.src.html Log Message: Tweak reference to sizing of gradients in an example, per Brian's feedback. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.263 retrieving revision 1.264 diff -u -d -r1.263 -r1.264 --- Overview.html 9 Jan 2012 22:40:50 -0000 1.263 +++ Overview.html 10 Jan 2012 00:38:24 -0000 1.264 @@ -885,7 +885,8 @@ class=property>background-image</code>’ with ‘<code class=property>background-size</code>’ and ‘<code class=property>background-clip</code>’ set to their defaults, the - gradient will fill the element's padding box. If ‘<code + gradient will fill the element's background positioning area (sized to + the element's padding box). If ‘<code class=property>background-size</code>’ is explicitly set to a value such as ‘<code class=css>100px 200px</code>’, then the <a href="#gradient-box"><i>gradient box</i></a> will be 100px wide and 200px Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.271 retrieving revision 1.272 diff -u -d -r1.271 -r1.272 --- Overview.src.html 9 Jan 2012 22:40:50 -0000 1.271 +++ Overview.src.html 10 Jan 2012 00:38:24 -0000 1.272 @@ -491,7 +491,7 @@ object size</i>, referred to as the <dfn>gradient box</dfn>. However, the gradient itself has no <i>intrinsic dimensions</i>.</p> <div class='example'> - <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 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> + <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> </div> <!-- ====================================================================== -->
Received on Tuesday, 10 January 2012 00:38:28 UTC