W3C home > Mailing lists > Public > public-css-commits@w3.org > July 2011

csswg/css3-text Overview.html,1.155,1.156 Overview.src.html,1.253,1.254

From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 22 Jul 2011 21:19:23 +0000
To: public-css-commits@w3.org
Message-Id: <E1QkN7z-0000lm-Bx@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv2941

Modified Files:
	Overview.html Overview.src.html 
Log Message:
More rewriting for 'text-justify'

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- Overview.html	21 Jul 2011 21:11:13 -0000	1.155
+++ Overview.html	22 Jul 2011 21:19:20 -0000	1.156
@@ -84,14 +84,14 @@
 
    <h1>CSS Text Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 21 July 2011</h2>
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 July 2011</h2>
 
    <dl>
     <dt>This version:
 
     <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
-     2011/07/21 20:53:38 $ (CVS $Revision$)</a> <!--
-      <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110721/">http://www.w3.org/TR/2011/WD-css3-text-20110721/</a></dd>
+     2011/07/21 21:11:13 $ (CVS $Revision$)</a> <!--
+      <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110722/">http://www.w3.org/TR/2011/WD-css3-text-20110722/</a></dd>
     -->
      
 
@@ -513,6 +513,11 @@
    and Properties</a> for how to determine the Unicode properties of a
    character.
 
+  <p id=letter>A <dfn id=letter0>letter</dfn> for the purpose of this
+   specification is a <a href="#character"><i>character</i></a> belonging to
+   one of the Letter or Number general categories in Unicode. <a
+   href="#UAX44" rel=biblioentry>[UAX44]<!--{{!UAX44}}--></a>
+
   <h2 id=transforming><span class=secno>2. </span> Transforming Text</h2>
 
   <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
@@ -2801,7 +2806,7 @@
 
    <dd>Justification primarily changes spacing at word separators. This value
     is typically used for languages that separate words using spaces, like
-    English or (sometimes) Korean.
+    English or Korean.
 
    <dt><dfn id=inter-ideograph
     title="text-justify:inter-ideographic"><code>inter-ideograph</code></dfn>
@@ -2878,9 +2883,12 @@
    href="#text-justify0"><code class=property>text-justify</code></a>&rsquo;
    are given in the table below. Since justification behavior varies by
    writing system, expansion opportunities are organized by <a
-   href="#script-groups">script categories</a>. All scripts in the same
-   priority level must be treated exactly the same. Word separators (spaces)
-   and punctuation may be treated specially, see below.
+   href="#script-groups">script categories</a>. An expansion opportunity
+   exists between two <i>letters</i> at a priority level when at least one of
+   them belongs to a script category at that level and the other does not
+   belong to a higher priority level. All scripts in the same priority level
+   must be treated exactly the same. Word separators (spaces) and other
+   symbols and punctuation are treated specially, see below.
 
   <table class=data>
    <caption>Prioritization of Expansion Points</caption>
@@ -2903,21 +2911,6 @@
 
    <tbody>
     <tr>
-     <th scope=row>spaces
-
-     <td><strong>1</strong>
-
-     <td><strong>1</strong>
-
-     <td><strong>1</strong>
-
-     <td><strong>1</strong>
-
-     <td>2
-
-     <td><strong>1</strong>*
-
-    <tr>
      <th scope=row><a href="#block-scripts">block</a>
 
      <td>2
@@ -2992,8 +2985,24 @@
 
      <td>never
 
+   <tbody>
     <tr>
-     <th scope=row>punctuation
+     <th scope=row>spaces
+
+     <td><strong>1</strong>
+
+     <td><strong>1</strong>
+
+     <td><strong>1</strong>
+
+     <td><strong>1</strong>
+
+     <td>2
+
+     <td><strong>1</strong>*
+
+    <tr>
+     <th scope=row>symbols
 
      <td>2
 
@@ -3001,54 +3010,53 @@
 
      <td><strong>1</strong>
 
-     <td><span class=issue>???</span>
+     <td><strong>1</strong>
 
      <td>3
 
      <td>*
   </table>
 
-  <p id=auto-justify>* The &lsquo;<code class=css>auto</code>&rsquo; column
-   defined above is informative; it suggests a prioritization that presents a
-   universal compromise among justification methods.
-
-  <p>An expansion opportunity between two <i>characters</i> is assigned to a
-   priority level when at least one of them belongs to a script category at
-   that level and the other does not belong to a higher priority level.
+  <p id=auto-justify><small>* The &lsquo;<code class=css>auto</code>&rsquo;
+   column defined above is informative; it suggests a prioritization that
+   presents a universal compromise among justification methods.</small>
 
-  <p>The <dfn id=spaces title=spaces-category>spaces</dfn> category
-   represents expansion opportunities at spaces and other <a
+  <p id=justify-spaces>The <dfn id=spaces title=spaces-category>spaces</dfn>
+   category represents expansion opportunities at <a
    href="#word-separator">word separators</a>. (See <a
    href="#word-spacing">&lsquo;<code
-   class=property>word-spacing</code>&rsquo;</a>.)
-
-  <p>The <dfn id=punctuation-symbols>punctuation</dfn> category represents
-   the expansion opportunities existing at or between any pair of characters
-   from the Unicode symbols (S*) and punctuation (P*) classes and at enabled
-   <a href="#text-autospace">autospace</a> points. <span class=issue>the
-   relationship of expansion opportunity and &lsquo;<a
-   href="#text-spacing"><code class=property>text-spacing</code></a>&rsquo;
-   needs more review</span>
+   class=property>word-spacing</code>&rsquo;</a>.) The UA may treat spaces
+   differently than other expansion points in the same priority, but must not
+   change their priority with respect to expansion points in other priority
+   levels. For example, in Japanese &lsquo;<code
+   class=css>inter-ideograph</code>&rsquo; justification (which treats CJK
+   characters at a higher priority than Latin characters), word spaces
+   traditionally have a higher priority than inter-CJK spacing, and the UA
+   may split the 1st-priority level to implement that. However the UA is not
+   allowed to drop spaces to the same priority as Latin characters.
 
-  <p>The justification priority of points in the spaces and punctuation
-   categories is roughly defined above: there may be additional rules
-   controlling their justification behavior due to typographic tradition. The
-   UA may introduce additional levels of prioritization to handle expansion
-   opportunities involving word separators and punctuation. For example,
+  <p id=justify-symbols>The <dfn id=punctuation-symbols>symbols</dfn>
+   category represents the expansion opportunities existing at or between any
+   pair of characters from the Unicode Symbols (S*) and Punctuation (P*)
+   classes and at enabled <a href="#text-autospace">autospace</a> points. The
+   default justification priority of these points is given above. However,
+   there may be additional rules controlling their justification behavior due
+   to typographic tradition. Therefore, the UA may reassign specific
+   characters or introduce additional levels of prioritization to handle
+   expansion opportunities involving symbols and punctuation. For example,
    there are traditionally no expansion opportunities between consecutive EM
    DASH U+2014, HORIZONTAL BAR U+2015, HORIZONTAL ELLIPSIS U+2026, or TWO DOT
    LEADER U+2025 characters <a href="#JLREQ"
-   rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a>. As another example, in
-   Japanese &lsquo;<code class=css>inter-ideograph</code>&rsquo;
-   justification (which treats CJK characters at a higher priority than Latin
-   characters), word spaces have a higher priority than inter-CJK spacing.
+   rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a>; thus a UA may assign these
+   characters to the "never" prioritization level.
 
-  <p>For <i>cursive</i> expansion, words may be expanded through kashida
-   elongation or other cursive expansion processes. Kashida may be applied in
-   discrete units or continuously, and the prioritization of kashida points
-   is UA-dependent: for example, the UA may apply more at the end of the
-   line. The UA should not apply kashida to fonts for which it is
-   inappropriate. It may instead rely on other justification methods that
+  <p id=justify-cursive>For justification of <a
+   href="#cursive-scripts0"><i>cursive scripts</i></a>, words may be expanded
+   through kashida elongation or other cursive expansion processes. Kashida
+   may be applied in discrete units or continuously, and the prioritization
+   of kashida points is UA-dependent: for example, the UA may apply more at
+   the end of the line. The UA should not apply kashida to fonts for which it
+   is inappropriate. It may instead rely on other justification methods that
    lengthen or shorten Arabic segments (e.g. by substituting in swash forms
    or optional ligatures). Because elongation rules depend on the typeface
    style, the UA should rely on on the font whenever possible rather than
@@ -4890,7 +4898,7 @@
    drawn for characters that are:
 
   <ul>
-   <li><a href="#word-separator">Word separators</a> or that belonging to the
+   <li><a href="#word-separator">Word separators</a> or that belong to the
     Unicode separator classes (Z*). (But note that emphasis marks
     <em>are</em> drawn for a space that combines with any combining
     characters.)
@@ -5673,9 +5681,8 @@
 
     <tr>
      <td>&lsquo;<a href="#text-spacing"><code
-      class=property>text-spacing</code></a>&rsquo;: &lsquo;<a
-      href="#punctuation-symbols"><code
-      class=css>punctuation</code></a>&rsquo;
+      class=property>text-spacing</code></a>&rsquo;: &lsquo;<code
+      class=css>punctuation</code>&rsquo;
 
      <td>European (French)
 
@@ -7027,6 +7034,8 @@
    <li>Ideographs, <a href="#ideographs"
     title=Ideographs><strong>8.3.2.</strong></a>
 
+   <li>letter, <a href="#letter0" title=letter><strong>1.</strong></a>
+
    <li>letter-spacing, <a href="#letter-spacing0"
     title=letter-spacing><strong>8.2.</strong></a>
 
@@ -7066,9 +7075,6 @@
    <li>&lt;percentage&gt;, <a href="#ltlengthgt-or-ltpercentagegt"
     title="&lt;percentage&gt;"><strong>8.</strong></a>
 
-   <li>punctuation, <a href="#punctuation-symbols"
-    title=punctuation><strong>7.3.</strong></a>
-
    <li>&lt;shadow&gt;, <a href="#ltshadowgt"
     title="&lt;shadow&gt;"><strong>10.3.</strong></a>
 
@@ -7088,6 +7094,9 @@
    <li>&lsquo;<code class=css>spread</code>&rsquo;, <a href="#spread"
     title="''spread''"><strong>5.5.</strong></a>
 
+   <li>symbols, <a href="#punctuation-symbols"
+    title=symbols><strong>7.3.</strong></a>
+
    <li>tab-size, <a href="#tab-size0"
     title=tab-size><strong>3.2.</strong></a>
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -d -r1.253 -r1.254
--- Overview.src.html	21 Jul 2011 21:11:13 -0000	1.253
+++ Overview.src.html	22 Jul 2011 21:19:21 -0000	1.254
@@ -211,6 +211,10 @@
     See <a href="http://dev.w3.org/csswg/css3-writing-modes/#character-properties">Characters and Properties</a>
     for how to determine the Unicode properties of a character.
 
+  <p id="letter">A <dfn>letter</dfn> for the purpose of this specification
+    is a <i>character</i> belonging to one of the Letter or Number general
+    categories in Unicode. [[!UAX44]]
+
 <h2 id="transforming">
   Transforming Text</h2>
 
@@ -1983,7 +1987,7 @@
       <dt><dfn title="text-justify:inter-word"><code>inter-word</code></dfn></dt>
         <dd>Justification primarily changes spacing at word separators.
           This value is typically used for languages that separate words using
-          spaces, like English or (sometimes) Korean.</dd>
+          spaces, like English or Korean.</dd>
       <dt><dfn title="text-justify:inter-ideographic"><code>inter-ideograph</code></dfn></dt>
         <dd>Justification primarily changes spacing at word separators and
           between characters in <a href="#block-scripts">block scripts</a>.
@@ -2030,7 +2034,7 @@
       opportunities; lower priority expansion opportunities are adjusted at a
       lower priority as needed.
 
-      <p>Expansion and compression limits are given by the
+    <p>Expansion and compression limits are given by the
       <a href="#letter-spacing">letter-spacing</a>
       and <a href="#word-spacing">word-spacing</a> properties.
       How any remaining space is distributed once all expansion opportunities
@@ -2044,9 +2048,13 @@
     <p>The expansion opportunity priorities for values of 'text-justify'
       are given in the table below. Since justification behavior
       varies by writing system, expansion opportunities are organized by
-      <a href="#script-groups">script categories</a>. All scripts in the
-      same priority level must be treated exactly the same. Word separators
-      (spaces) and punctuation may be treated specially, see below.
+      <a href="#script-groups">script categories</a>.
+      An expansion opportunity exists between two <i>letters</i> at a
+      priority level when at least one of them belongs to a script category
+      at that level and the other does not belong to a higher priority level.
+      All scripts in the same priority level must be treated exactly the same.
+      Word separators (spaces) and other symbols and punctuation are treated
+      specially, see below.
 
     <table class="data">
       <caption>Prioritization of Expansion Points</caption>
@@ -2063,16 +2071,6 @@
       </thead>
       <tbody>
         <tr>
-          <th scope="row">spaces</th>
-          <td><strong>1</strong></td>
-          <td><strong>1</strong></td>
-          <td><strong>1</strong></td>
-          <td><strong>1</strong></td>
-          <td>2</td>
-          <td><strong>1</strong>*</td>
-        </tr>
-
-        <tr>
           <th scope="row"><a href="#block-scripts">block</a></th>
           <td>2</td>
           <td><strong>1</strong></td>
@@ -2121,48 +2119,60 @@
           <td>never</td>
           <td>never</td>
         </tr>
+      </tbody>
+
+      <tbody>
         <tr>
-          <th scope="row">punctuation</th>
+          <th scope="row">spaces</th>
+          <td><strong>1</strong></td>
+          <td><strong>1</strong></td>
+          <td><strong>1</strong></td>
+          <td><strong>1</strong></td>
+          <td>2</td>
+          <td><strong>1</strong>*</td>
+        </tr>
+
+        <tr>
+          <th scope="row">symbols</th>
           <td>2</td>
           <td><strong>1</strong></td>
           <td><strong>1</strong></td>
-          <td><span class="issue">???</span></td>
+          <td><strong>1</strong></td>
           <td>3</td>
           <td>*</td>
         </tr>
       </tbody>
     </table>
 
-    <p id="auto-justify">* The ''auto'' column defined above is informative; it
+    <p id="auto-justify"><small>* The ''auto'' column defined above is informative; it
       suggests a prioritization that presents a universal compromise among
-      justification methods.</p>
-    <p>An expansion opportunity between two <i>characters</i> is assigned to a
-      priority level when at least one of them belongs to a script
-      category at that level and the other does not belong to a higher
-      priority level.
-    <p>The <dfn title="spaces-category">spaces</dfn> category represents
-      expansion opportunities at spaces and other
-      <a href="#word-separator">word separators</a>. (See
-      <a href="#word-spacing">'word-spacing'</a>.)
-    <p>The <dfn id="punctuation-symbols">punctuation</dfn> category represents
-      the expansion opportunities existing at or between any pair of characters
-      from the Unicode symbols (S*) and punctuation (P*) classes and
-      at enabled <a href="#text-autospace">autospace</a> points.
-          <span class="issue">the relationship of expansion opportunity
-            and 'text-spacing' needs more review</span>
-    <p>The justification priority of points in the spaces and punctuation
-      categories is roughly defined above: there may be additional rules
-      controlling their justification behavior due to typographic tradition.
-      The UA may introduce additional levels of prioritization to handle
-      expansion opportunities involving word separators and punctuation.
+      justification methods.</small></p>
+    <p id="justify-spaces">The <dfn title="spaces-category">spaces</dfn> category represents
+      expansion opportunities at <a href="#word-separator">word separators</a>.
+      (See <a href="#word-spacing">'word-spacing'</a>.) The UA may treat
+      spaces differently than other expansion points in the same priority,
+      but must not change their priority with respect to expansion points
+      in other priority levels. For example, in Japanese ''inter-ideograph''
+      justification (which treats CJK characters at a higher priority than
+      Latin characters), word spaces traditionally have a higher priority
+      than inter-CJK spacing, and the UA may split the 1st-priority level
+      to implement that. However the UA is not allowed to drop spaces to
+      the same priority as Latin characters.
+    <p id="justify-symbols">The <dfn id="punctuation-symbols">symbols</dfn>
+      category represents the expansion opportunities existing at or between
+      any pair of characters from the Unicode Symbols (S*) and Punctuation (P*)
+      classes and at enabled <a href="#text-autospace">autospace</a> points.
+      The default justification priority of these points is given above.
+      However, there may be additional rules controlling their justification
+      behavior due to typographic tradition. Therefore, the UA may reassign
+      specific characters or introduce additional levels of prioritization
+      to handle expansion opportunities involving symbols and punctuation.
       For example, there are traditionally no expansion opportunities
       between consecutive EM DASH U+2014, HORIZONTAL BAR U+2015, HORIZONTAL
-      ELLIPSIS U+2026, or TWO DOT LEADER U+2025 characters [[JLREQ]].
-      As another example, in Japanese ''inter-ideograph'' justification
-      (which treats CJK characters at a higher priority than Latin characters),
-      word spaces have a higher priority than inter-CJK spacing.
+      ELLIPSIS U+2026, or TWO DOT LEADER U+2025 characters [[JLREQ]]; thus
+      a UA may assign these characters to the "never" prioritization level.
 
-    <p>For <i>cursive</i> expansion,
+    <p id="justify-cursive">For justification of <i>cursive scripts</i>,
       words may be expanded through kashida elongation or other cursive
       expansion processes. Kashida may be applied in discrete units or
       continuously, and the prioritization of kashida points is UA-dependent:
@@ -3680,7 +3690,7 @@
       emphasis marks are not drawn for characters that are:</p>
     <ul>
       <li><a href="#word-separator">Word separators</a> or that
-        belonging to the Unicode separator classes (Z*).
+        belong to the Unicode separator classes (Z*).
         (But note that emphasis marks <em>are</em> drawn for a space
          that combines with any combining characters.)</li>
       <li>Characters belonging to the Unicode classes for control codes
Received on Friday, 22 July 2011 21:19:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 July 2011 21:19:25 GMT