csswg/css3-text Overview.html,1.73,1.74 Overview.src.html,1.170,1.171

Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv18776

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add consume-before and consume-after to white-space-collapsing, clarify that white space processing happens within a single inline formatting context

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Overview.html	7 Mar 2011 17:16:19 -0000	1.73
+++ Overview.html	9 Mar 2011 06:20:35 -0000	1.74
@@ -83,14 +83,14 @@
 
    <h1>CSS Text Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 7 March 2011</h2>
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 March 2011</h2>
 
    <dl>
     <dt>This version:
 
     <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
-     2011/03/03 09:12:56 $ (CVS $Revision$)</a> <!--
-      <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110307/">http://www.w3.org/TR/2011/WD-css3-text-20110307/</a></dd>
+     2011/03/07 17:16:19 $ (CVS $Revision$)</a> <!--
+      <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110309/">http://www.w3.org/TR/2011/WD-css3-text-20110309/</a></dd>
     -->
      
 
@@ -788,7 +788,8 @@
     <tr>
      <th>Value:
 
-     <td>collapse | discard | [ [preserve | preserve-breaks] && trim-inner ]
+     <td>collapse | discard | [ [preserve | preserve-breaks] && [ trim-inner
+      || consume-before || consume-after ]
 
     <tr>
      <th>Initial:
@@ -866,6 +867,18 @@
     non-white-space character in the block as well as to discard all white
     space at the end of a block starting with the first line feed after the
     last non-white-space character in the block.
+
+   <dt><dfn id=consume-before
+    title="white-space-collapsing:consume-before"><code>consume-before</code></dfn>
+
+   <dd>This value directs the UA to collapse all collapsible whitespace
+    immediately before the start of the element.
+
+   <dt><dfn id=consume-after
+    title="white-space-collapsing:consume-after"><code>consume-after</code></dfn>
+
+   <dd>This value directs the UA to collapse all collapsible whitespace
+    immediately after the end of the element.
   </dl>
 
   <h3 id=tab-size><span class=secno>4.2. </span> Tab Character Size: the
@@ -922,9 +935,9 @@
   <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
-   are handled as follows, ignoring bidi formatting characters as if they
-   were not there:
+  <p>For each inline (including anonymous inlines) within an inline
+   formatting context, white space characters are handled as follows,
+   ignoring bidi formatting characters as if they were not there:
 
   <ul>
    <li id=collapse>
@@ -953,6 +966,12 @@
       (U+0020)&mdash;even a space before the inline&mdash;is removed.
       However, if removing this space would eliminate a line breaking
       opportunity in the text, that opportunity is still considered to exist.
+
+     <li>A collapsible space before the start of an element with &lsquo;<code
+      class=css>consume-before</code>&rsquo; is removed.
+
+     <li>A collapsible space after the end of an element with &lsquo;<code
+      class=css>consume-after</code>&rsquo; is removed.
     </ol>
 
    <li>
@@ -6240,7 +6259,8 @@
      <td><a class=property
       href="#white-space-collapsing0">white-space-collapsing</a>
 
-     <td>collapse | discard | [ [preserve | preserve-breaks] && trim-inner ]
+     <td>collapse | discard | [ [preserve | preserve-breaks] && [ trim-inner
+      || consume-before || consume-after ]
 
      <td>collapse
 
@@ -6743,6 +6763,12 @@
    <li>white-space-collapsing:collapse, <a href="#collapse0"
     title="white-space-collapsing:collapse"><strong>4.1.</strong></a>
 
+   <li>white-space-collapsing:consume-after, <a href="#consume-after"
+    title="white-space-collapsing:consume-after"><strong>4.1.</strong></a>
+
+   <li>white-space-collapsing:consume-before, <a href="#consume-before"
+    title="white-space-collapsing:consume-before"><strong>4.1.</strong></a>
+
    <li>white-space-collapsing:discard, <a href="#discard"
     title="white-space-collapsing:discard"><strong>4.1.</strong></a>
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- Overview.src.html	7 Mar 2011 17:16:19 -0000	1.170
+++ Overview.src.html	9 Mar 2011 06:20:36 -0000	1.171
@@ -459,7 +459,7 @@
         </tr>
         <tr>
           <th>Value:</th>
-          <td>collapse | discard | [ [preserve | preserve-breaks] && trim-inner ]</td>
+          <td>collapse | discard | [ [preserve | preserve-breaks] && [ trim-inner || consume-before || consume-after ]</td>
         </tr>
         <tr>
           <th>Initial:</th>
@@ -516,6 +516,12 @@
         non-white-space character in the block as well as to discard all white
         space at the end of a block starting with the first line feed after
         the last non-white-space character in the block.</dd>
+      <dt><dfn title="white-space-collapsing:consume-before"><code>consume-before</code></dfn></dt>
+      <dd>This value directs the UA to collapse all collapsible whitespace
+        immediately before the start of the element.
+      <dt><dfn title="white-space-collapsing:consume-after"><code>consume-after</code></dfn></dt>
+      <dd>This value directs the UA to collapse all collapsible whitespace
+        immediately after the end of the element.
     </dl>
 
   <h3 id="tab-size">
@@ -565,9 +571,9 @@
   <h3 id="white-space-rules">
     The White Space Processing Rules</h3>
 
-    <p>For each inline (including anonymous inlines), white space
-      characters are handled as follows, ignoring bidi formatting
-      characters as if they were not there:</p>
+    <p>For each inline (including anonymous inlines) within an inline
+      formatting context, white space characters are handled as follows,
+      ignoring bidi formatting characters as if they were not there:</p>
 
     <ul>
     <li id="collapse"><p>If <span class="property">'white-space-collapsing'</span>
@@ -588,6 +594,10 @@
           However, if removing this space would eliminate a line breaking
           opportunity in the text, that opportunity is still considered
           to exist.</li>
+        <li>A collapsible space before the start of an element with
+          ''consume-before'' is removed.
+        <li>A collapsible space after the end of an element with
+          ''consume-after'' is removed.
       </ol>
     </li>
     <li><p>If <span class="property">'white-space-collapsing'</span> is set to

Received on Wednesday, 9 March 2011 06:20:40 UTC