- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 25 Jul 2011 01:54:37 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv21517
Modified Files:
Overview.html Overview.src.html
Log Message:
Add MathML example for text-space-collapse
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- Overview.html 25 Jul 2011 01:38:49 -0000 1.161
+++ Overview.html 25 Jul 2011 01:54:34 -0000 1.162
@@ -90,7 +90,7 @@
<dt>This version:
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
- 2011/07/25 01:34:44 $ (CVS $Revision$)</a> <!--
+ 2011/07/25 01:38:49 $ (CVS $Revision$)</a> <!--
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110725/">http://www.w3.org/TR/2011/WD-css3-text-20110725/</a></dd>
-->
@@ -809,8 +809,8 @@
before the first non-white-space character in the element as well as to
discard all white space at the end of the element starting with the first
line feed after the last non-white-space character in the element. For
- inline elements this value directs UAs to discard all whitespace at the
- beginning and end of the element. For other elements, this has no effect.
+ other elements this value directs UAs to discard all whitespace at the
+ beginning and end of the element.
<dt><dfn id=consume-before
title="white-space:consume-before"><code>consume-before</code></dfn>
@@ -825,6 +825,19 @@
immediately after the end of the element.
</dl>
+ <div class=example>
+ <p>The following style rules implement MathML's white space processing:
+
+ <pre>
+<!-- -->@namespace m "http://www.w3.org/1998/Math/MathML";
+<!-- -->m|* {
+<!-- --> text-space-collapse: discard;
+<!-- -->}
+<!-- -->m|mi, m|mn, m|mo, m|ms, m|mtext {
+<!-- --> text-space-collapse: trim-inner;
+<!-- -->}</pre>
+ </div>
+
<h3 id=tab-size><span class=secno>3.2. </span> Tab Character Size: the
‘<a href="#tab-size0"><code
class=property>tab-size</code></a>’ property</h3>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -d -r1.259 -r1.260
--- Overview.src.html 25 Jul 2011 01:38:49 -0000 1.259
+++ Overview.src.html 25 Jul 2011 01:54:35 -0000 1.260
@@ -465,9 +465,8 @@
before the first non-white-space character in the element as well as
to discard all white space at the end of the element starting with the
first line feed after the last non-white-space character in the element.
- For inline elements this value directs UAs to discard all whitespace
- at the beginning and end of the element. For other elements, this has
- no effect.</dd>
+ For other elements this value directs UAs to discard all whitespace
+ at the beginning and end of the element.</dd>
<dt><dfn title="white-space: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.
@@ -476,6 +475,18 @@
immediately after the end of the element.
</dl>
+ <div class="example">
+ <p>The following style rules implement MathML's white space processing:
+ <pre>
+<!-- -->@namespace m "http://www.w3.org/1998/Math/MathML";
+<!-- -->m|* {
+<!-- --> text-space-collapse: discard;
+<!-- -->}
+<!-- -->m|mi, m|mn, m|mo, m|ms, m|mtext {
+<!-- --> text-space-collapse: trim-inner;
+<!-- -->}</pre>
+ </div>
+
<h3 id="tab-size">
Tab Character Size: the 'tab-size' property</h3>
Received on Monday, 25 July 2011 01:54:42 UTC