- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Mar 2011 08:57:50 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv9141
Modified Files:
Overview.html Overview.src.html
Log Message:
Copy over no-underline et al. from XSL. Copy over XSL line inhibition behavior. Mark as issue, since incompatible with CSS2.1.
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- Overview.html 2 Mar 2011 00:32:25 -0000 1.70
+++ Overview.html 3 Mar 2011 08:57:48 -0000 1.71
@@ -83,14 +83,14 @@
<h1>CSS Text Level 3</h1>
- <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 2 March 2011</h2>
+ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 March 2011</h2>
<dl>
<dt>This version:
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
- 2011/02/23 19:29:23 $ (CVS $Revision$)</a> <!--
- <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110302/">http://www.w3.org/TR/2011/WD-css3-text-20110302/</a></dd>
+ 2011/03/02 02:15:23 $ (CVS $Revision$)</a> <!--
+ <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110303/">http://www.w3.org/TR/2011/WD-css3-text-20110303/</a></dd>
-->
@@ -479,6 +479,16 @@
<p>[document here]
+ <p id=grapheme-cluster>A <dfn id=grapheme-cluster0>grapheme cluster</dfn>
+ is what a language user considers to be a character or a basic unit of the
+ script. The term is described in detail in the Unicode Technical Report:
+ Text Boundaries <a href="#UAX29"
+ rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a>. This specification uses the
+ <em>extended grapheme cluster</em> definition in <a href="#UAX29"
+ rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a> (not the <em>legacy grapheme
+ cluster</em> definition). The UA may further tailor the definition as
+ allowed by Unicode.
+
<h3 id=script-groups><span class=secno>1.1. </span>Script Groups</h3>
<p>Typographic behavior varies somewhat by language, but varies drastically
@@ -3556,16 +3566,6 @@
‘<code class=property>normal</code>’ optimum letter-spacing is
typically zero.
- <p id=grapheme-cluster>A <dfn id=grapheme-cluster0>grapheme cluster</dfn>
- is what a language user considers to be a character or a basic unit of the
- script. The term is described in detail in the Unicode Technical Report:
- Text Boundaries <a href="#UAX29"
- rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a>. This specification uses the
- <em>extended grapheme cluster</em> definition in <a href="#UAX29"
- rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a> (not the <em>legacy grapheme
- cluster</em> definition). The UA may further tailor the definition as
- allowed by Unicode.
-
<p>Letter-spacing must not be applied at the beginning or at the end of a
line. At element boundaries, the letter spacing is given by and rendered
within the innermost element that <em>contains</em> the boundary.
@@ -4314,12 +4314,7 @@
href="http://www.w3.org/TR/CSS21/visuren.html#display-prop"><code>inline-table</code></a>
and <a
href="http://www.w3.org/TR/CSS21/visuren.html#display-prop"><code>inline-block</code></a>
- descendants. The value of the <a
- href="#text-decoration-line0"><code>text-decoration-line</code></a>
- property on descendant elements therefore cannot have any effect on the
- decoration of the ancestor; to skip descendants, use the <a
- href="#text-decoration-skip0"><code>text-decoration-skip</code></a>
- property.
+ descendants.
<p>By default underlines, overlines, and line-throughs are applied only to
text (including white space, letter spacing, and word spacing): margins,
@@ -4416,7 +4411,8 @@
<tr>
<th>Value:
- <td>none | [ underline || overline || line-through ]
+ <td>none | [ underline | no-underline ] || [ overline | no-overline ] ||
+ [ line-through | no-line-through ]
<tr>
<th>Initial:
@@ -4453,24 +4449,44 @@
Values have the following meanings:
<dl>
- <dt>none
+ <dt><dfn id=none4 title="text-decoration-line:none">none</dfn>
- <dd>Produces no text decoration.
+ <dd>Neither produces nor inhibits text decoration.
<dt>underline
- <dd>Each line of text is underlined.
+ <dd>Each line of text is underlined. Inhibits propagated underlines.
- <dt>overline
+ <dt><dfn id=no-underline>no-underline</dfn>
+
+ <dd>Inhibits propagated underlines.
+
+ <dt><dfn id=overline>overline</dfn>
<dd>Each line of text has a line above it (i.e. on the opposite side from
- an underline).
+ an underline). Inhibits propagated overlines.
- <dt>line-through
+ <dt><dfn id=no-overline>no-overline</dfn>
- <dd>Each line of text has a line through the middle.
+ <dd>Inhibits propagated overlines.
+
+ <dt><dfn id=line-through>line-through</dfn>
+
+ <dd>Each line of text has a line through the middle. Inhibits propagated
+ line-throughs.
+
+ <dt><dfn id=no-line-through>no-line-through</dfn>
+
+ <dd>Inhibits propagated line-throughs.
</dl>
+ <p>A piece of text can have at most one underline, one overline, and one
+ line-through applied to it: if an element adds a new line, it inhibits any
+ lines of the same type that would otherwise be propagated to it.
+
+ <p class=issue>This behavior is incompatible with CSS2.1, which says that
+ all ancestors' lines are painted along with the new one (if any).
+
<h4 id=text-decoration-color><span class=secno>11.1.2. </span> Text
Decoration Color: the ‘<a href="#text-decoration-color0"><code
class=property>text-decoration-color</code></a>’ property</h4>
@@ -4715,7 +4731,7 @@
drawn by its ancestors. Values have the following meanings:
<dl>
- <dt><dfn id=none4 title="text-decoration-skip:none">none</dfn>
+ <dt><dfn id=none5 title="text-decoration-skip:none">none</dfn>
<dd>Skip nothing: text-decoration is drawn for all text content and for
inline replaced elements.
@@ -4753,6 +4769,11 @@
underline to be drawn by specifying <code>text-decoration-skip:
none</code>.
+ <p class=issue>Is the ‘<code class=css>all</code>’ value needed
+ now that ‘<a href="#text-decoration-line0"><code
+ class=property>text-decoration-line</code></a>’ has line-inhibiting
+ values from XSL?
+
<h4 id=text-underline-position><span class=secno>11.1.6. </span> Text
Underline Position: the ‘<a href="#text-underline-position0"><code
class=property>text-underline-position</code></a>’ property</h4>
@@ -4934,7 +4955,7 @@
the following meanings:
<dl>
- <dt><dfn id=none5 title="text-emphasis:none"><code>none</code></dfn>
+ <dt><dfn id=none6 title="text-emphasis:none"><code>none</code></dfn>
<dd>No emphasis marks.
@@ -6038,7 +6059,8 @@
<td><a class=property
href="#text-decoration-line0">text-decoration-line</a>
- <td>none | [ underline || overline || line-through ]
+ <td>none | [ underline | no-underline ] || [ overline | no-overline ] ||
+ [ line-through | no-line-through ]
<td>none
@@ -6447,7 +6469,7 @@
punctuation"><strong>9.3.</strong></a>
<li>grapheme cluster, <a href="#grapheme-cluster0" title="grapheme
- cluster"><strong>9.2.</strong></a>
+ cluster"><strong>1.</strong></a>
<li><a href="#hanging"><code>hanging</code></a>, <a href="#hanging"
title=hanging><strong>10.1.</strong></a>
@@ -6511,6 +6533,12 @@
<li>line-break:strict, <a href="#strict"
title="line-break:strict"><strong>5.1.</strong></a>
+ <li>line-through, <a href="#line-through"
+ title=line-through><strong>11.1.1.</strong></a>
+
+ <li>no-line-through, <a href="#no-line-through"
+ title=no-line-through><strong>11.1.1.</strong></a>
+
<li>‘<code class=css>none</code>’, <a href="#none0"
title="''none''"><strong>6.5.</strong></a>
@@ -6520,6 +6548,15 @@
<li>Non-ideographic numerals, <a href="#non-ideographic-numerals"
title="Non-ideographic numerals"><strong>9.4.</strong></a>
+ <li>no-overline, <a href="#no-overline"
+ title=no-overline><strong>11.1.1.</strong></a>
+
+ <li>no-underline, <a href="#no-underline"
+ title=no-underline><strong>11.1.1.</strong></a>
+
+ <li>overline, <a href="#overline"
+ title=overline><strong>11.1.1.</strong></a>
+
<li>‘<code class=css>page</code>’, <a href="#page"
title="''page''"><strong>6.5.</strong></a>
@@ -6613,6 +6650,9 @@
<li>text-decoration-line, <a href="#text-decoration-line0"
title=text-decoration-line><strong>11.1.1.</strong></a>
+ <li>text-decoration-line:none, <a href="#none4"
+ title="text-decoration-line:none"><strong>11.1.1.</strong></a>
+
<li>text-decoration-skip, <a href="#text-decoration-skip0"
title=text-decoration-skip><strong>11.1.5.</strong></a>
@@ -6622,7 +6662,7 @@
<li>text-decoration-skip:ink, <a href="#ink"
title="text-decoration-skip:ink"><strong>11.1.5.</strong></a>
- <li>text-decoration-skip:none, <a href="#none4"
+ <li>text-decoration-skip:none, <a href="#none5"
title="text-decoration-skip:none"><strong>11.1.5.</strong></a>
<li>text-decoration-skip:objects, <a href="#objects"
@@ -6661,7 +6701,7 @@
<li>text-emphasis:left, <a href="#left0"
title="text-emphasis:left"><strong>11.2.4.</strong></a>
- <li>text-emphasis:none, <a href="#none5"
+ <li>text-emphasis:none, <a href="#none6"
title="text-emphasis:none"><strong>11.2.1.</strong></a>
<li>text-emphasis:open, <a href="#open"
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- Overview.src.html 2 Mar 2011 02:15:23 -0000 1.167
+++ Overview.src.html 3 Mar 2011 08:57:48 -0000 1.168
@@ -3198,10 +3198,7 @@
descendants, nor to the contents of
<a href="http://www.w3.org/TR/CSS21/visuren.html#display-prop"><code>inline-table</code></a>
and <a href="http://www.w3.org/TR/CSS21/visuren.html#display-prop"><code>inline-block</code></a>
- descendants. The value of the <code>text-decoration-line</code>
- property on descendant elements therefore cannot have any effect on
- the decoration of the ancestor; to skip descendants, use the
- <code>text-decoration-skip</code> property.</p>
+ descendants.</p>
<p>By default underlines, overlines, and line-throughs are applied only
to text (including white space, letter spacing, and word spacing):
@@ -3289,7 +3286,7 @@
</tr>
<tr>
<th>Value:</th>
- <td>none | [ underline || overline || line-through ]
+ <td>none | [ underline | no-underline ] || [ overline | no-overline ] || [ line-through | no-line-through ]
</td>
</tr>
<tr>
@@ -3323,17 +3320,30 @@
Values have the following meanings:</p>
<dl>
- <dt>none</dt>
- <dd>Produces no text decoration.</dd>
- <dt>underline</dt>
- <dd>Each line of text is underlined.</dd>
- <dt>overline</dt>
- <dd>Each line of text has a line above it (i.e. on the opposite
- side from an underline).</dd>
- <dt>line-through</dt>
- <dd>Each line of text has a line through the middle.</dd>
+ <dt><dfn title="text-decoration-line:none">none</dfn>
+ <dd>Neither produces nor inhibits text decoration.
+ <dt>underline</dfn>
+ <dd>Each line of text is underlined. Inhibits propagated underlines.
+ <dt><dfn>no-underline</dfn>
+ <dd>Inhibits propagated underlines.
+ <dt><dfn>overline</dfn>
+ <dd>Each line of text has a line above it (i.e. on the opposite
+ side from an underline). Inhibits propagated overlines.
+ <dt><dfn>no-overline</dfn>
+ <dd>Inhibits propagated overlines.
+ <dt><dfn>line-through</dfn>
+ <dd>Each line of text has a line through the middle.
+ Inhibits propagated line-throughs.
+ <dt><dfn>no-line-through</dfn>
+ <dd>Inhibits propagated line-throughs.
</dl>
+ <p>A piece of text can have at most one underline, one overline, and one
+ line-through applied to it: if an element adds a new line, it inhibits
+ any lines of the same type that would otherwise be propagated to it.</p>
+ <p class="issue">This behavior is incompatible with CSS2.1, which says
+ that all ancestors' lines are painted along with the new one (if any).</p>
+
<h4 id="text-decoration-color">
Text Decoration Color: the 'text-decoration-color' property</h4>
@@ -3574,6 +3584,9 @@
grandparent's underline to be drawn by specifying
<code>text-decoration-skip: none</code>.</p>
+ <p class="issue">Is the ''all'' value needed now that 'text-decoration-line'
+ has line-inhibiting values from XSL?</p>
+
<h4 id="text-underline-position">
Text Underline Position: the 'text-underline-position' property</h4>
Received on Thursday, 3 March 2011 08:57:53 UTC