- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 28 Feb 2012 21:33:04 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv16017 Modified Files: Overview.html Overview.src.html Log Message: Editorial tweak to the paragraph about ltr/rtl in image(). Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.310 retrieving revision 1.311 diff -u -d -r1.310 -r1.311 --- Overview.html 28 Feb 2012 21:25:48 -0000 1.310 +++ Overview.html 28 Feb 2012 21:33:02 -0000 1.311 @@ -620,9 +620,11 @@ <p>Along with each ‘<a href="#image-decl-type"><code class=css><image-decl></code></a>’, the author may specify a directionality, similar to adding a <code>dir</code> attribute to an - element in HTML. The image represented by the function takes on the - directionality of the used URL. If a directional image is used on or in an - element with opposite <a + element in HTML. The ‘<code class=css>image()</code>’ function + takes on the directionality of the used ‘<a + href="#image-decl-type"><code class=css><image-decl></code></a>’, + if any. If a directional image is used on or in an element with opposite + <a href="http://www.w3.org/TR/CSS21/visuren.html#propdef-direction">direction</a>, the image must be flipped in the inline direction (as if it was transformed by, e.g., <code>scaleX(-1)</code>, if the inline direction is Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.320 retrieving revision 1.321 diff -u -d -r1.320 -r1.321 --- Overview.src.html 28 Feb 2012 21:25:49 -0000 1.320 +++ Overview.src.html 28 Feb 2012 21:33:02 -0000 1.321 @@ -275,7 +275,7 @@ <pre>background-image: image('cat_meme.gif#frame=5', 'lolcat.png');</pre> </div> - <p>Along with each ''<image-decl>'', the author may specify a directionality, similar to adding a <code>dir</code> attribute to an element in HTML. The image represented by the function takes on the directionality of the used URL. If a directional image is used on or in an element with opposite <a href="http://www.w3.org/TR/CSS21/visuren.html#propdef-direction">direction</a>, the image must be flipped in the inline direction (as if it was transformed by, e.g., <code>scaleX(-1)</code>, if the inline direction is the X axis).</p> + <p>Along with each ''<image-decl>'', the author may specify a directionality, similar to adding a <code>dir</code> attribute to an element in HTML. The ''image()'' function takes on the directionality of the used ''<image-decl>'', if any. If a directional image is used on or in an element with opposite <a href="http://www.w3.org/TR/CSS21/visuren.html#propdef-direction">direction</a>, the image must be flipped in the inline direction (as if it was transformed by, e.g., <code>scaleX(-1)</code>, if the inline direction is the X axis).</p> <div class='example'> <p>A list may use an arrow for a bullet that points into the content. If the list can contain both LTR and RTL text, though, the bullet may be on the left or the right, and an image designed to point into the text on one side will point out of the text on the other side. This can be fixed with code like:</p>
Received on Tuesday, 28 February 2012 21:33:06 UTC