W3C home > Mailing lists > Public > public-css-commits@w3.org > February 2012

csswg/css3-text Overview.html,1.226,1.227 Overview.src.html,1.326,1.327

From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 17 Feb 2012 17:39:25 +0000
To: public-css-commits@w3.org
Message-Id: <E1RyRmH-0000iY-QD@lionel-hutz.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 &lsquo;<code
+   class=property>direction</code>&rsquo; property of the containing block.
+   In the case of &lsquo;<code class=css>unicode-bidi:
+   plaintext</code>&rsquo;, 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 &lsquo;<code class=css>[dir=auto] { unicode-bidi: plaintext;
+    }</code>&rsquo;, in the following example, every other line is
+    right-aligned:</p>
+
+   <pre>&lt;pre&gt;
+<!-- -->  Latin &tl;span dir=auto&gt;
+<!-- -->  &#x0648;·&#x06A9;&#x0645;&#x06CC;
+<!-- -->  Latin
+<!-- -->  &#x0648;·&#x06A9;&#x0645;&#x06CC;
+<!-- -->  Latin
+<!-- -->  &#x0648;·&#x06A9;&#x0645;&#x06CC; &lt;/span&gt;
+<!-- -->&lt;/pre&gt;</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>&lt;pre&gt;
+<!-- -->  Latin &tl;span dir=auto&gt;
+<!-- -->  &#x0648;·&#x06A9;&#x0645;&#x06CC;
+<!-- -->  Latin
+<!-- -->  &#x0648;·&#x06A9;&#x0645;&#x06CC;
+<!-- -->  Latin
+<!-- -->  &#x0648;·&#x06A9;&#x0645;&#x06CC; &lt;/span&gt;
+<!-- -->&lt;/pre&gt;</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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:50 UTC