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

csswg/css3-text Overview.html,1.63,1.64 Overview.src.html,1.158,1.159

From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 23 Feb 2011 05:51:57 +0000
To: public-css-commits@w3.org
Message-Id: <E1Ps7dl-00044z-PT@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv15663

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add 'tab-size' property.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- Overview.html	23 Feb 2011 05:40:59 -0000	1.63
+++ Overview.html	23 Feb 2011 05:51:55 -0000	1.64
@@ -90,7 +90,7 @@
     <dt>This version:
 
     <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
-     2011/02/23 05:34:46 $ (CVS $Revision$)</a> <!--
+     2011/02/23 05:40:59 $ (CVS $Revision$)</a> <!--
       <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110223/">http://www.w3.org/TR/2011/WD-css3-text-20110223/</a></dd>
     -->
      
@@ -250,20 +250,24 @@
       White Space Collapsing: the &lsquo;<code
       class=property>white-space-collapsing</code>&rsquo; property</a>
 
-     <li><a href="#white-space-rules"><span class=secno>4.2. </span> The
+     <li><a href="#white-space-collapsing"><span class=secno>4.2. </span> Tab
+      Character Size: the &lsquo;<code class=property>tab-size</code>&rsquo;
+      property</a>
+
+     <li><a href="#white-space-rules"><span class=secno>4.3. </span> The
       White Space Processing Rules</a>
       <ul class=toc>
-       <li><a href="#egbidiwscollapse"><span class=secno>4.2.1. </span>
+       <li><a href="#egbidiwscollapse"><span class=secno>4.3.1. </span>
         Example of bidirectionality with white space collapsing</a>
 
-       <li><a href="#line-break-transform"><span class=secno>4.2.2. </span>
+       <li><a href="#line-break-transform"><span class=secno>4.3.2. </span>
         Line Break Transformation Rules</a>
 
-       <li><a href="#white-space-summary"><span class=secno>4.2.3. </span>
+       <li><a href="#white-space-summary"><span class=secno>4.3.3. </span>
         Informative Summary of White Space Collapsing Effects</a>
       </ul>
 
-     <li><a href="#white-space"><span class=secno>4.3. </span> White Space
+     <li><a href="#white-space"><span class=secno>4.4. </span> White Space
       and Text Wrapping Shorthand: the &lsquo;<code
       class=property>white-space</code>&rsquo; property</a>
     </ul>
@@ -855,7 +859,58 @@
     last non-white-space character in the block.
   </dl>
 
-  <h3 id=white-space-rules><span class=secno>4.2. </span> The White Space
+  <h3 id=white-space-collapsing><span class=secno>4.2. </span> Tab Character
+   Size: the &lsquo;<a href="#tab-size"><code
+   class=property>tab-size</code></a>&rsquo; property</h3>
+
+  <table class=propdef>
+   <tbody>
+    <tr>
+     <th>Name:
+
+     <td><dfn id=tab-size>tab-size</dfn>
+
+    <tr>
+     <th>Value:
+
+     <td>&lt;integer&gt;
+
+    <tr>
+     <th>Initial:
+
+     <td>8
+
+    <tr>
+     <th>Applies to:
+
+     <td>block containers
+
+    <tr>
+     <th>Inherited:
+
+     <td>yes
+
+    <tr>
+     <th>Percentages:
+
+     <td>N/A
+
+    <tr>
+     <th>Media:
+
+     <td>visual
+
+    <tr>
+     <th>Computed&#160;value:
+
+     <td>specified value
+  </table>
+
+  <p>This property determines the width of the tab character (U+0009), in
+   space characters (U+0020), when rendered. Only positive integers are
+   allowed.
+
+  <h3 id=white-space-rules><span class=secno>4.3. </span> The White Space
    Processing Rules</h3>
 
   <p>For each inline (including anonymous inlines), white space characters
@@ -922,8 +977,10 @@
 
    <li>Each tab (U+0009) is rendered as a horizontal shift that lines up the
     start edge of the next glyph with the next tab stop. Tab stops occur at
-    points that are multiples of 8 times the width of a space (U+0020)
-    rendered in the block's font from the block's starting content edge.
+    points that are multiples of the width of a space (U+0020) rendered in
+    the block's font from the block's starting content edge. How many spaces
+    is given by the &lsquo;<a href="#tab-size"><code
+    class=property>tab-size</code></a>&rsquo; property.
 
    <li>A sequence of collapsible spaces (U+0020) at the end of a line is
     removed.
@@ -935,12 +992,12 @@
     class=property>avoid</code>&rsquo; the UA may visually collapse them.
   </ol>
 
-  <p class=issue>There was a proposal for a &lsquo;<code
-   class=property>tab-size</code>&rsquo; property to control the size of tab
-   stops. Is there implementation interest in this property?
+  <p class=issue>There was a proposal for a &lsquo;<a href="#tab-size"><code
+   class=property>tab-size</code></a>&rsquo; property to control the size of
+   tab stops. Is there implementation interest in this property?
 
   <div class=example>
-   <h4 id=egbidiwscollapse><span class=secno>4.2.1. </span> Example of
+   <h4 id=egbidiwscollapse><span class=secno>4.3.1. </span> Example of
     bidirectionality with white space collapsing</h4>
 
    <p>Consider the following markup fragment, taking special note of spaces
@@ -979,7 +1036,7 @@
     on implicit bidirectionality instead of explicit embedding levels.</p>
   </div>
 
-  <h4 id=line-break-transform><span class=secno>4.2.2. </span> Line Break
+  <h4 id=line-break-transform><span class=secno>4.3.2. </span> Line Break
    Transformation Rules</h4>
 
   <p>When line feeds are <a href="#collapse">collapsible</a>, they are either
@@ -1015,7 +1072,7 @@
    very much appreciated, particularly from people who work with Thai and
    similar scripts.
 
-  <h4 id=white-space-summary><span class=secno>4.2.3. </span> Informative
+  <h4 id=white-space-summary><span class=secno>4.3.3. </span> Informative
    Summary of White Space Collapsing Effects</h4>
 
   <ul>
@@ -1030,7 +1087,7 @@
     space.
   </ul>
 
-  <h3 id=white-space><span class=secno>4.3. </span> White Space and Text
+  <h3 id=white-space><span class=secno>4.4. </span> White Space and Text
    Wrapping Shorthand: the &lsquo;<a href="#white-space0"><code
    class=property>white-space</code></a>&rsquo; property</h3>
 
@@ -5785,6 +5842,21 @@
      <td>visual
 
     <tr valign=baseline>
+     <td><a class=property href="#tab-size">tab-size</a>
+
+     <td>&lt;integer&gt;
+
+     <td>8
+
+     <td>block containers
+
+     <td>yes
+
+     <td>N/A
+
+     <td>visual
+
+    <tr valign=baseline>
      <td><a class=property href="#text-align0">text-align</a>
 
      <td>[ start | end | left | right | center | justify | match-parent ] ||
@@ -6251,7 +6323,7 @@
     scripts"><strong>1.1.</strong></a>
 
    <li>collapsible, <a href="#collapsible"
-    title=collapsible><strong>4.2.</strong></a>
+    title=collapsible><strong>4.3.</strong></a>
 
    <li>&lsquo;<code class=css>column</code>&rsquo;, <a href="#column"
     title="''column''"><strong>6.4.</strong></a>
@@ -6393,6 +6465,9 @@
       conformance class"><strong>2.</strong></a>
     </ul>
 
+   <li>tab-size, <a href="#tab-size" title=tab-size><strong>4.2.</strong></a>
+    
+
    <li>text-align, <a href="#text-align0"
     title=text-align><strong>8.1.</strong></a>
 
@@ -6605,7 +6680,7 @@
     title="text-wrap:unrestricted"><strong>7.1.</strong></a>
 
    <li>white-space, <a href="#white-space0"
-    title=white-space><strong>4.3.</strong></a>
+    title=white-space><strong>4.4.</strong></a>
 
    <li>white-space-collapsing, <a href="#white-space-collapsing0"
     title=white-space-collapsing><strong>4.1.</strong></a>
@@ -6626,19 +6701,19 @@
     title="white-space-collapsing:trim-inner"><strong>4.1.</strong></a>
 
    <li>white-space:normal, <a href="#normal"
-    title="white-space:normal"><strong>4.3.</strong></a>
+    title="white-space:normal"><strong>4.4.</strong></a>
 
    <li>white-space:nowrap, <a href="#nowrap"
-    title="white-space:nowrap"><strong>4.3.</strong></a>
+    title="white-space:nowrap"><strong>4.4.</strong></a>
 
    <li>white-space:pre, <a href="#pre"
-    title="white-space:pre"><strong>4.3.</strong></a>
+    title="white-space:pre"><strong>4.4.</strong></a>
 
    <li>white-space:pre-line, <a href="#pre-line"
-    title="white-space:pre-line"><strong>4.3.</strong></a>
+    title="white-space:pre-line"><strong>4.4.</strong></a>
 
    <li>white-space:pre-wrap, <a href="#pre-wrap"
-    title="white-space:pre-wrap"><strong>4.3.</strong></a>
+    title="white-space:pre-wrap"><strong>4.4.</strong></a>
 
    <li>word-break, <a href="#word-break0"
     title=word-break><strong>5.2.</strong></a>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- Overview.src.html	23 Feb 2011 05:40:59 -0000	1.158
+++ Overview.src.html	23 Feb 2011 05:51:55 -0000	1.159
@@ -510,6 +510,50 @@
         the last non-white-space character in the block.</dd>
     </dl>
 
+  <h3 id="white-space-collapsing">
+    Tab Character Size: the 'tab-size' property</h3>
+
+    <table class="propdef">
+      <tbody>
+        <tr>
+          <th>Name:</th>
+          <td><dfn>tab-size</dfn></td>
+        </tr>
+        <tr>
+          <th>Value:</th>
+          <td>&lt;integer&gt;</td>
+        </tr>
+        <tr>
+          <th>Initial:</th>
+          <td>8</td>
+        </tr>
+        <tr>
+          <th>Applies to:</th>
+          <td>block containers</td>
+        </tr>
+        <tr>
+          <th>Inherited:</th>
+          <td>yes</td>
+        </tr>
+        <tr>
+          <th>Percentages:</th>
+          <td>N/A</td>
+        </tr>
+        <tr>
+          <th>Media:</th>
+          <td>visual</td>
+        </tr>
+        <tr>
+          <th>Computed&#160;value:</th>
+          <td>specified value</td>
+        </tr>
+      </tbody>
+    </table>
+
+    <p>This property determines the width of the tab character (U+0009),
+      in space characters (U+0020), when rendered. Only positive integers
+      are allowed.
+
   <h3 id="white-space-rules">
     The White Space Processing Rules</h3>
 
@@ -558,9 +602,10 @@
         line is removed.</li>
       <li>Each tab (U+0009) is rendered as a horizontal shift that lines up
         the start edge of the next glyph with the next tab stop.
-        Tab stops occur at points that are multiples of 8 times the width
-        of a space (U+0020) rendered in the block's font from the block's
-        starting content edge.</li>
+        Tab stops occur at points that are multiples of the width of a
+        space (U+0020) rendered in the block's font from the block's
+        starting content edge. How many spaces is given by the 'tab-size'
+        property.</li>
       <li>A sequence of collapsible spaces (U+0020) at the end of a line
         is removed.</li>
       <li>If spaces (U+0020) or tabs (U+0009) at the end of a line are
Received on Wednesday, 23 February 2011 05:52:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 February 2011 05:52:00 GMT