csswg/css3-writing-modes Overview.html,1.105,1.106 Overview.src.html,1.110,1.111

Update of /sources/public/csswg/css3-writing-modes
In directory hutz:/tmp/cvs-serv4259

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Organize text-orientation section a bit better.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- Overview.html	3 May 2011 21:14:42 -0000	1.105
+++ Overview.html	10 May 2011 01:22:44 -0000	1.106
@@ -30,7 +30,7 @@
 
    <h1>CSS Writing Modes Module Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 May 2011</h2>
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 10 May 2011</h2>
 
    <dl>
     <dt>This version:
@@ -38,7 +38,7 @@
     <dd><a
      href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a>
      <!--
-    <dd><a href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110503">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110503</a>
+    <dd><a href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110510">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110510/</a>
 -->
      
 
@@ -206,6 +206,10 @@
      <li><a href="#text-orientation"><span class=secno>5.1. </span> Orienting
       Text: the &lsquo;<code class=property>text-orientation</code>&rsquo;
       property</a>
+      <ul class=toc>
+       <li><a href="#vertical-typesetting"><span class=secno>5.1.1. </span>
+        Vertical typesetting</a>
+      </ul>
     </ul>
 
    <li><a href="#abstract-box"><span class=secno>6. </span> Abstract Box
@@ -272,13 +276,13 @@
 
    <li class=no-num><a href="#acknowledgements">Acknowledgements</a>
 
-   <li class=no-num><a href="#bidi-html">Appendix B: Bidi Rules for HTML</a>
+   <li class=no-num><a href="#bidi-html">Appendix A: Bidi Rules for HTML</a>
 
-   <li class=no-num><a href="#script-orientations">Appendix A: Script
-    Orientations</a>
+   <li class=no-num><a href="#script-orientations">Appendix B:
+    Bi-orientational Transformations</a>
 
-   <li class=no-num><a href="#intrinsic-sizing">Appendix B: Intrinsic
-    Sizing</a>
+   <li class=no-num><a href="#intrinsic-sizing">Appendix D: Intrinsic
+    Dimensions</a>
 
    <li class=no-num><a href="#references">References</a>
     <ul class=toc>
@@ -1421,7 +1425,7 @@
    bi-orientational transform, which orients them correctly in vertical text:
    CJK (Chinese/Japanese/Korean) characters translate, that is, they are
    always upright. Other scripts, such as Mongolian, rotate. (See <a
-   href="#script-orientations">Appendix A</a> for a list of intrinsic
+   href="#script-orientations">Appendix B</a> for a list of intrinsic
    bi-orientational transforms.)
 
   <p>Scripts without a native vertical orientation can be either rotated (set
@@ -1505,16 +1509,27 @@
 
   <p>This property specifies the orientation of characters within a line and
    sets the orientation of the line. Current values only have an effect in
-   vertical writing modes. Values have the following meanings:
+   vertical writing modes.
+
+  <p id=grapheme-cluster>In this section only, the term <dfn
+   id=character>character</dfn> is defined as <em>extended grapheme
+   cluster</em> per <a href="#UAX29"
+   rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a>. It is roughly equivalent to
+   what a language user considers to be a character or a basic unit of the
+   script (which might not be a single Unicode codepoint). The UA may further
+   tailor the definition as allowed by Unicode. The properties of a grapheme
+   cluster are given by its base.
+
+  <p>Values have the following meanings:
 
   <dl>
    <dt><dfn id=vertical-right>vertical-right</dfn>
 
    <dd>
-    <p>In vertical writing modes, grapheme clusters from horizontal-only
-     scripts are set sideways, i.e. 90&deg; clockwise from their standard
-     orientation in horizontal text. Characters from vertical scripts are set
-     with their intrinsic orientation.
+    <p>In vertical writing modes, characters from horizontal-only scripts are
+     set sideways, i.e. 90&deg; clockwise from their standard orientation in
+     horizontal text. Characters from vertical scripts are set with their
+     intrinsic orientation.
 
     <p>In vertical writing modes, this value puts the element in a
      <i>vertical typographic mode</i> and is typical for layout of primarily
@@ -1523,14 +1538,14 @@
    <dt><dfn id=upright>upright</dfn>
 
    <dd>
-    <p>In vertical writing modes, grapheme clusters from horizonal-only
-     scripts are rendered upright, i.e. in their standard horizontal
-     orientation. Shaping characters from such scripts are shaped in their
-     isolated forms. Characters from vertical scripts are set with their
-     intrinsic orientation and shaped normally. When available, vertical
-     glyph variants and vertical font metrics are used to set the text. The
-     UA must synthesize vertical font metrics for grapheme clusters that do
-     not have any.
+    <p>In vertical writing modes, characters from horizonal-only scripts are
+     rendered upright, i.e. in their standard horizontal orientation. Shaping
+     characters from such scripts are shaped in their isolated forms.
+     Characters from vertical scripts are set with their intrinsic
+     orientation and shaped normally. When available, vertical glyph variants
+     and vertical font metrics are used to set the text. The UA must
+     synthesize vertical font metrics for grapheme clusters that do not have
+     any.
 
     <p>For the purposes of bidi reordering, this value causes all characters
      to be treated as strong LTR. This value causes the used value of
@@ -1641,10 +1656,13 @@
     </pre>
   </div>
 
-  <p>In vertical typographic modes, any grapheme clusters belonging to a
-   vertical script <em>must</em> be set using its base character's intrinsic
-   orientation. (See <a href="#script-orientations">Appendix A</a>) Grapheme
-   clusters belonging to horizontal-only scripts must set sideways (for
+  <h4 id=vertical-typesetting><span class=secno>5.1.1. </span> Vertical
+   typesetting</h4>
+
+  <p>In vertical typographic modes, any characters belonging to a vertical
+   script <em>must</em> be set using its base character's intrinsic
+   orientation. (See <a href="#script-orientations">Appendix B</a>.)
+   Characters belonging to horizontal-only scripts must set sideways (for
    &lsquo;<a href="#vertical-right"><code
    class=css>vertical-right</code></a>&rsquo;) or set upright (for &lsquo;<a
    href="#upright"><code class=css>upright</code></a>&rsquo;) depending on
@@ -1653,46 +1671,39 @@
 
   <p>The orientation of characters belonging to the Common, Inherited, and
    Unknown script categories may be UA- or font-dependent in vertical
-   typographic modes. The Unicode East Asian Width property <a href="#UAX11"
-   rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> can be used to distinguish
-   whether a character is typically be set upright or sideways in &lsquo;<a
-   href="#vertical-right"><code class=css>vertical-right</code></a>&rsquo;:
-   characters classified as fullwidth (F) or wide (W) are typically set
-   upright (using vertical font settings), whereas characters classified as
-   neutral (N), narrow (Na) or halfwidth (H) are typically set sideways
-   (using horizontal font settings).
-
-  <p>If the font and font system support mixed-orientation typesetting, the
-   UA should rely on that feature to set &lsquo;<a
-   href="#vertical-right"><code class=css>vertical-right</code></a>&rsquo;
-   text. Similarly if the font and font system support upright typesetting
-   then the UA should rely on that feature to set &lsquo;<a
-   href="#upright"><code class=css>upright</code></a>&rsquo; text.
-
-  <p>If the UA needs to synthesize such features (e.g. if an OpenType font
-   has only the <code>vert</code> but not the <code>vrt2</code> feature),
-   then it should:
+   typographic modes:
 
   <ul>
-   <li>for &lsquo;<a href="#vertical-right"><code
-    class=css>vertical-right</code></a>&rsquo;, set all characters with an
-    East Asian Width of F or W upright (i.e. translated, using vertical font
-    settings if available), and set sideways the rest (i.e. rotated, using
-    horizontal font settings).
-
-   <li>for &lsquo;<a href="#upright"><code
-    class=css>upright</code></a>&rsquo;, set all characters belonging to the
-    Mongolian and Phags Pa scripts sideways, and set upright the rest.
-  </ul>
-
-  <p class=issue>Need to define handling of EAW Ambiguous (A) symbols and
-   punctuation.
+   <li>If the font and font system support mixed-orientation typesetting, the
+    UA should rely on that feature to set &lsquo;<a
+    href="#vertical-right"><code class=css>vertical-right</code></a>&rsquo;
+    text. Similarly if the font and font system support upright typesetting
+    then the UA should rely on that feature to set &lsquo;<a
+    href="#upright"><code class=css>upright</code></a>&rsquo; text.
 
-  <p class=issue> Link to definition of grapheme clusters in <a href="#UAX29"
-   rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a>.
+   <li>If the UA needs to synthesize such features (e.g. if an OpenType font
+    has only the <code>vert</code> but not the <code>vrt2</code> feature),
+    then it should handle symbols (S*) and punctuation (P*) as follows:
+    <ul>
+     <li>for &lsquo;<a href="#vertical-right"><code
+      class=css>vertical-right</code></a>&rsquo;, set all characters with an
+      East Asian Width property <a href="#UAX11"
+      rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of fullwidth (F) or wide
+      (W) upright (i.e. translated, using vertical font settings if
+      available), and set all narrow (Na) and neutral (N) characters sideways
+      (i.e. rotated, using horizontal font settings). The behavior of most
+      ambiguous (A) symbols and punctuation is undefined in this version of
+      CSS.
 
-  <p class=issue>Add appendix that describes interaction with OpenType
-   features and font layout?
+     <li>for &lsquo;<a href="#upright"><code
+      class=css>upright</code></a>&rsquo;, set all characters belonging to
+      the Mongolian and Phags Pa scripts sideways, and set upright the rest.
+    </ul>
+    Additionally, spaces (Zs) should either be set upright if vertical
+    metrics are available or set sideways if they are not. Thus a
+    THREE-PER-EM SPACE (U+2004) will able to provide a 1/3-em advance in the
+    inline dimension.
+  </ul>
 
   <h2 id=abstract-box><span class=secno>6. </span> Abstract Box Terminology</h2>
 
@@ -2708,9 +2719,9 @@
     <p>The UA may scale the contents to fit instead, or in addition to the
      method above.
 
-    <p>In horizontal mode, or if the number of grapheme clusters in the
-     element exceeds the number specified (if any), this value is equivalent
-     to &lsquo;<code class=css>none</code>&rsquo;.
+    <p>In horizontal mode, or if the number of <i>grapheme clusters</i> in
+     the element exceeds the number specified (if any), this value is
+     equivalent to &lsquo;<code class=css>none</code>&rsquo;.
   </dl>
 
   <div class=example>
@@ -2755,7 +2766,7 @@
 
   <p>John Daggett, Martin Heijdra, Paul Nelson, Michel Suignard, Steve Zilles
 
-  <h2 class=no-num id=bidi-html>Appendix B: Bidi Rules for HTML</h2>
+  <h2 class=no-num id=bidi-html>Appendix A: Bidi Rules for HTML</h2>
 
   <p>The style sheet rules that would achieve the bidi behaviors specified in
    <a href="#HTML401" rel=biblioentry>[HTML401]<!--{{HTML401}}--></a> for the
@@ -2779,7 +2790,8 @@
 { unicode-bidi: isolate; }
   </pre>
 
-  <h2 class=no-num id=script-orientations>Appendix A: Script Orientations</h2>
+  <h2 class=no-num id=script-orientations>Appendix B: Bi-orientational
+   Transformations</h2>
 
   <p>This appendix gives the orientational properties of vertical scripts in
    <a href="#UNICODE" rel=biblioentry>[UNICODE]<!--{{!UNICODE}}--></a>. Any
@@ -2847,7 +2859,7 @@
     value of 'text-orientation'.
 -->
 
-  <h2 class=no-num id=intrinsic-sizing>Appendix B: Intrinsic Sizing</h2>
+  <h2 class=no-num id=intrinsic-sizing>Appendix D: Intrinsic Dimensions</h2>
 
   <p><em>This section is normative.</em>
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- Overview.src.html	3 May 2011 21:14:34 -0000	1.110
+++ Overview.src.html	10 May 2011 01:22:45 -0000	1.111
@@ -1024,7 +1024,7 @@
     intrinsic bi-orientational transform, which orients them correctly in
     vertical text: CJK (Chinese/Japanese/Korean) characters translate,
     that is, they are always upright. Other scripts, such as Mongolian,
-    rotate. (See <a href="#script-orientations">Appendix A</a> for a list of
+    rotate. (See <a href="#script-orientations">Appendix B</a> for a list of
     intrinsic bi-orientational transforms.)</p>
 
   <p>Scripts without a native vertical orientation can be either rotated
@@ -1090,12 +1090,21 @@
 
   <p>This property specifies the orientation of characters within a line
     and sets the orientation of the line. Current values only
-    have an effect in vertical writing modes. Values have the following
-    meanings:</p>
+    have an effect in vertical writing modes.
+
+  <p id=grapheme-cluster>In this section only, the term <dfn>character</dfn>
+   is defined as <em>extended grapheme cluster</em> per [[!UAX29]]. It is
+   roughly equivalent to what a language user considers to be a character
+   or a basic unit of the script (which might not be a single Unicode
+   codepoint).
+   The UA may further tailor the definition as allowed by Unicode.
+   The properties of a grapheme cluster are given by its base.
+
+  <p>Values have the following meanings:</p>
 
   <dl>
     <dt><dfn>vertical-right</dfn></dt>
-    <dd><p>In vertical writing modes, grapheme clusters from horizontal-only
+    <dd><p>In vertical writing modes, characters from horizontal-only
       scripts are set sideways, i.e. 90&deg; clockwise from their standard
       orientation in horizontal text.
       Characters from vertical scripts are set with their intrinsic orientation.
@@ -1103,7 +1112,7 @@
       typographic mode</i> and is typical for layout of primarily
       vertical-script text.
     <dt><dfn>upright</dfn></dt>
-    <dd><p>In vertical writing modes, grapheme clusters from horizonal-only
+    <dd><p>In vertical writing modes, characters from horizonal-only
       scripts are rendered upright, i.e. in their standard horizontal
       orientation.
       Shaping characters from such scripts are shaped in their isolated forms.
@@ -1180,48 +1189,45 @@
     </pre>
   </div>
 
-  <p>In vertical typographic modes, any grapheme clusters belonging to a
+<h4 id="vertical-typesetting">
+Vertical typesetting</h4>
+
+  <p>In vertical typographic modes, any characters belonging to a
     vertical script <em>must</em> be set using its base character's
-    intrinsic orientation. (See <a href="#script-orientations">Appendix A</a>)
-    Grapheme clusters belonging to horizontal-only scripts must set sideways
+    intrinsic orientation. (See <a href="#script-orientations">Appendix B</a>.)
+    Characters belonging to horizontal-only scripts must set sideways
     (for ''vertical-right'') or set upright (for ''upright'') depending on the
     'text-orientation' property.
-
+    
   <p>The orientation of characters belonging to the Common, Inherited, and Unknown
     script categories may be UA- or font-dependent in vertical typographic
-    modes. The Unicode East Asian Width property [[!UAX11]] can be used to
-    distinguish whether a character is typically be set upright or sideways in
-    ''vertical-right'': characters classified as fullwidth (F) or wide (W)
-    are typically set upright (using vertical font settings), whereas characters
-    classified as neutral (N), narrow (Na) or halfwidth (H) are typically set
-    sideways (using horizontal font settings).
-
-  <p>If the font and font system support mixed-orientation typesetting, the
-    UA should rely on that feature to set ''vertical-right'' text. Similarly
-    if the font and font system support upright typesetting then the UA should
-    rely on that feature to set ''upright'' text.
+    modes:
 
-  <p>If the UA needs to synthesize such features (e.g. if an OpenType font
-    has only the <code>vert</code> but not the <code>vrt2</code> feature),
-    then it should:
   <ul>
-    <li>for ''vertical-right'', set all characters with an East Asian Width
-      of F or W upright (i.e. translated, using vertical font settings if
-      available), and set sideways the rest (i.e. rotated, using horizontal
-      font settings).
-    <li>for ''upright'', set all characters belonging to the Mongolian and
-      Phags Pa scripts sideways, and set upright the rest.
+    <li>If the font and font system support mixed-orientation typesetting, the
+      UA should rely on that feature to set ''vertical-right'' text. Similarly
+      if the font and font system support upright typesetting then the UA should
+      rely on that feature to set ''upright'' text.
+    
+    <li>If the UA needs to synthesize such features (e.g. if an OpenType font
+      has only the <code>vert</code> but not the <code>vrt2</code> feature),
+      then it should handle symbols (S*) and punctuation (P*) as follows:
+      <ul>
+        <li>for ''vertical-right'', set all characters with an East Asian Width
+          property [[!UAX11]] of fullwidth (F) or wide (W) upright (i.e.
+          translated, using vertical font settings if available), and
+          set all narrow (Na) and neutral (N) characters sideways (i.e. rotated,
+          using horizontal font settings). The behavior of most ambiguous (A)
+          symbols and punctuation is undefined in this version of CSS.
+        <li>for ''upright'', set all characters belonging to the Mongolian and
+          Phags Pa scripts sideways, and set upright the rest.
+      </ul>
+      Additionally, spaces (Zs) should either be set upright if vertical
+      metrics are available or set sideways if they are not. Thus a
+      THREE-PER-EM SPACE (U+2004) will able to provide a 1/3-em advance in the
+      inline dimension.
   </ul>
 
-  <p class="issue">Need to define handling of EAW Ambiguous (A) symbols and
-    punctuation.</p>
-
-  <p class="issue">
-    Link to definition of grapheme clusters in [[!UAX29]].</p>
-
-  <p class="issue">Add appendix that describes interaction with OpenType
-    features and font layout?</p>
-
 <h2 id="abstract-box">
 Abstract Box Terminology</h2>
 
@@ -2019,7 +2025,7 @@
       (if available, else halfwidth glyphs), etc.
     <p>The UA may scale the contents to fit instead,
       or in addition to the method above.
-    <p>In horizontal mode, or if the number of grapheme clusters in the
+    <p>In horizontal mode, or if the number of <i>grapheme clusters</i> in the
       element exceeds the number specified (if any), this value is
       equivalent to ''none''.
     </dd>
@@ -2062,7 +2068,7 @@
 
 <p>John Daggett, Martin Heijdra, Paul Nelson, Michel Suignard, Steve Zilles</p>
 
-<h2 id="bidi-html" class=no-num>Appendix B: Bidi Rules for HTML</h2>
+<h2 id="bidi-html" class=no-num>Appendix A: Bidi Rules for HTML</h2>
 
 <p>The style sheet rules that would achieve the bidi behaviors specified
 in [[HTML401]] for the HTML Strict doctype are given below:
@@ -2084,7 +2090,8 @@
 { unicode-bidi: isolate; }
   </pre>
 
-<h2 class="no-num" id="script-orientations">Appendix A: Script Orientations</h2>
+<h2 class="no-num" id="script-orientations">Appendix B:
+Bi-orientational Transformations</h2>
 
   <p>This appendix gives the orientational properties of vertical scripts in
     [[!UNICODE]]. Any script not listed explicitly is assumed to be
@@ -2119,8 +2126,8 @@
     value of 'text-orientation'.
 -->
 
-<h2 id="intrinsic-sizing" class="no-num">Appendix B:
-Intrinsic Sizing</h2>
+<h2 id="intrinsic-sizing" class="no-num">Appendix D:
+Intrinsic Dimensions</h2>
 
   <p><em>This section is normative.</em></p>
   

Received on Tuesday, 10 May 2011 01:22:49 UTC