- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Feb 2012 17:39:25 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text In directory hutz:/tmp/cvs-serv2744 Modified Files: Overview.html Overview.src.html Log Message: Change start/end alignment to work off implied base direction when unicode-bidi: plaintext is in effect <http://lists.w3.org/Archives/Public/www-style/2011Dec/0174.html> Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.html,v retrieving revision 1.226 retrieving revision 1.227 diff -u -d -r1.226 -r1.227 --- Overview.html 17 Feb 2012 09:02:57 -0000 1.226 +++ Overview.html 17 Feb 2012 17:39:23 -0000 1.227 @@ -38,8 +38,8 @@ <dl> <dt>This version: - <dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/02/04 - 10:03:53 $ (CVS $Revision$)</a> <!-- + <dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/02/17 + 09:02:57 $ (CVS $Revision$)</a> <!-- <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120217/">http://www.w3.org/TR/2012/WD-css3-text-20120217/</a></dd> --> @@ -1977,6 +1977,31 @@ href="http://dev.w3.org/csswg/css3-text/#white-space-rules">white space processing rules</a>. + <p>The start and end edges of line boxes are determined by the inline base + direction per "paragraph", where in this case the "paragraph" is all + consecutive line boxes not separated by a forced line break or block + boundary. In most cases, this means referring to the ‘<code + class=property>direction</code>’ property of the containing block. + In the case of ‘<code class=css>unicode-bidi: + plaintext</code>’, however, this uses the implied inline base + direction of the "paragraph" (i.e. the based direction that is used for + bidi reordering). + + <div class=example> + <p>Assuming ‘<code class=css>[dir=auto] { unicode-bidi: plaintext; + }</code>’, in the following example, every other line is + right-aligned:</p> + + <pre><pre> +<!-- --> Latin &tl;span dir=auto> +<!-- --> و·کمی +<!-- --> Latin +<!-- --> و·کمی +<!-- --> Latin +<!-- --> و·کمی </span> +<!-- --></pre></pre> + </div> + <h4 id=character-alignment><span class=secno>7.1.1. </span>Character-based Alignment in a Table Column</h4> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.src.html,v retrieving revision 1.326 retrieving revision 1.327 diff -u -d -r1.326 -r1.327 --- Overview.src.html 17 Feb 2012 09:02:57 -0000 1.326 +++ Overview.src.html 17 Feb 2012 17:39:23 -0000 1.327 @@ -1378,6 +1378,27 @@ <a href="http://dev.w3.org/csswg/css3-text/#white-space-rules">white space processing rules</a>. + <p>The start and end edges of line boxes are determined by the inline base + direction per "paragraph", where in this case the "paragraph" is all + consecutive line boxes not separated by a forced line break or block + boundary. In most cases, this means referring to the 'direction' property + of the containing block. In the case of ''unicode-bidi: plaintext'', + however, this uses the implied inline base direction of the "paragraph" + (i.e. the based direction that is used for bidi reordering). + + <div class="example"> + <p>Assuming ''[dir=auto] { unicode-bidi: plaintext; }'', in the following + example, every other line is right-aligned:</p> + <pre><pre> +<!-- --> Latin &tl;span dir=auto> +<!-- --> و·کمی +<!-- --> Latin +<!-- --> و·کمی +<!-- --> Latin +<!-- --> و·کمی </span> +<!-- --></pre></pre> + </div> + <h4 id="character-alignment">Character-based Alignment in a Table Column</h4> <p>When multiple cells in a column have an <i>alignment character</i> specified,
Received on Friday, 17 February 2012 17:39:27 UTC