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

csswg/css3-text Overview.html,1.213,1.214 Overview.src.html,1.312,1.313

From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 17 Jan 2012 00:20:35 +0000
To: public-css-commits@w3.org
Message-Id: <E1Rmwmx-0007Xe-8D@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv28972

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Allow reordering of 'text-align' values. Specify that there's no letter-spacing between atomic inlines. Update changes section.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -d -r1.213 -r1.214
--- Overview.html	16 Jan 2012 23:15:00 -0000	1.213
+++ Overview.html	17 Jan 2012 00:20:32 -0000	1.214
@@ -32,15 +32,15 @@
 
    <h1>CSS Text Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 January
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 January
     2012</h2>
 
    <dl>
     <dt>This version:
 
     <dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/01/16
[...5117 lines suppressed...]
 
-      <td>yes
+     <td>all elements
 
-      <td>refers to width of the affected glyph
+     <td>yes
 
-      <td>visual
-   </table>
-   <!--end-properties--> <!--
+     <td>refers to width of the affected glyph
+
+     <td>visual
+  </table>
+  <!--end-properties-->
+  <!--
 <h2 class="no-num" id="index">Appendix I:
 Index</h2>
 index-->
-   </div>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.312
retrieving revision 1.313
diff -u -d -r1.312 -r1.313
--- Overview.src.html	16 Jan 2012 23:15:00 -0000	1.312
+++ Overview.src.html	17 Jan 2012 00:20:33 -0000	1.313
@@ -381,6 +381,11 @@
     behavior specified below can be affected by these limitations and
     may be user agent dependent.</p>
 
+  <p class="note">Note that anonymous inlines consisting entirely of
+    <i>collapsible</i> white space are removed from the rendering tree.
+    See [[CSS21]] section
+    <a href="http://www.w3.org/TR/CSS21/visuren.html#anonymous">9.2.2.1</a></p>
+
   <p>Control characters (Unicode class Cc) other than tab (U+0009), line feed
     (U+000A), space (U+0020), and the bidi formatting characters (U+202<var>x</var>)
     are ignored for the purpose of rendering.
@@ -1292,7 +1297,7 @@
         </tr>
         <tr>
           <th><a href="#values">Value</a>:
-          <td>&lt;string&gt;? [ start | end | left | right | center ] |
+          <td>[ [ start | end | left | right | center ] || &lt;string&gt; ] |
               justify | match-parent | start end
           </td>
         </tr>
@@ -2053,12 +2058,13 @@
       typically zero.</p>
 
     <p>Letter-spacing must not be applied at the beginning or at the end
-       of a line. At element boundaries, the letter spacing is given by
-       and rendered within the innermost element that <em>contains</em>
-       the boundary.</p>
+       of a line. At element boundaries, the total letter spacing between
+       two characters is given by and rendered within the innermost element
+       that <em>contains</em> the boundary.</p>
 
-    <p>For the purpose of letter-spacing, each atomic inline (such as an
-      image or inline block) is treated as a single <i>character</i>.
+    <p>For the purpose of letter-spacing, each consecutive run of atomic
+      inlines (such as image and/or inline blocks) is treated as a single
+      <i>character</i>.
 
     <div class="example">
       <p>For example, given the markup</p>
@@ -2096,6 +2102,31 @@
     in the block ('text-indent') and how content is aligned to the start and
     end edges of a line ('hanging-punctuation').
 
+    <p>Assuming a UA style sheet of <code>p { margin: 1em 0; }</code>, CSS can
+      achieve the Japanese typesetting styles with the following rules:
+    <ul>
+      <li>Brackets flush with indent, flush with other lines (first scheme):
+        <pre>p { /* Flush alignment */
+<!--   -->  margin: 0;
+<!--   -->  text-indent: 1em;
+<!--   -->  text-spacing: trim-start;
+<!--   -->}</pre>
+      <li>Brackets preserve fullwidth spacing on all lines (second scheme):
+        <pre>p { /* Fullwidth alignment */
+<!--   -->  margin: 0;
+<!--   -->  text-indent: 1em;
+<!--   -->  text-spacing: normal;
+<!--   -->}</pre>
+      <li>Brackets hang in indent, flush with other lines (third scheme):
+        <pre>p { /* Hanging alignment */
+<!--   -->  margin: 0;
+<!--   -->  text-indent: 1em;
+<!--   -->  text-spacing: trim-start;
+<!--   -->  hanging-punctuation: first;
+<!--   -->}</pre>
+    </ul>
+  </div>
+
   <h3 id="text-indent">
     First Line Indentation: the 'text-indent' property</h3>
 
@@ -2839,7 +2870,7 @@
         If ''left'' or ''right'' is specified alone, ''below'' is also
         implied.
 
-      <div class="figure" class="data" id="fig-text-underline-position">
+      <div class="figure" id="fig-text-underline-position">
         <table>
           <tr>
             <td>
@@ -3523,14 +3554,15 @@
       the ''start end'' combination, since no use cases were presented for any
       others.
     <li>Removed ability to combine character-based alignment with full
-      justification.
+      justification (''&lt;string> justify''). Allow reordering of 'text-align'
+      values.
     <li>Dropped percentage values of 'letter-spacing' and change its
       definition for 'word-spacing' to be relative to the affected character.
     <li>Added back ''last'' value of 'hanging-punctuation'
     <li>Allowed ''below'', ''left'', and ''right'' to be specified on their own
       for 'text-underline-position'.
   </ul>
-  
+
   <p>Significant details updated:</p>
   <ul>
     <li>Defined that control characters other than those honored are ignored
@@ -3543,26 +3575,6 @@
     <li>Include &lt;narrow&gt; mappings in ''text-transform: fullwidth''
   </ul>
 
-  <h3 class="no-num" id="recent-changes">
-  Changes from the <a href="http://www.w3.org/TR/2011/WD-css3-text-20110412/">April
-  2011 CSS3 Text <abbr title="Working Draft">WD</abbr></a></h3>
-
-  <p>Major changes include:</p>
-
-  <ul>
-    <li>Change percentage values on 'word-spacing' to be absolute and to
-      reference the affected glyph (rather than always the space character).
-    <li>Dropped percentage values from 'letter-spacing'
-    <li>Re-added ''last'' value to 'hanging-punctuation'; it has an effect on
-      right-aligned text.
-  </ul>
-
-  <p>Significant details updated:</p>
-  <ul>
-    <li>Defined how 'letter-spacing' affects atomic inlines by treating them
-      as a character.
-  </ul>
-
 <h2 class="no-num" id="default-stylesheet">Appendix D: Default UA Stylesheet</h2>
 
     <p>This appendix is informative, and is to help UA developers to implement
Received on Tuesday, 17 January 2012 00:20:46 UTC

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