- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 29 Mar 2011 21:40:44 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv6552
Modified Files:
Overview.html Overview.src.html
Log Message:
Sync text-decoration seciton against CSS2.1
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- Overview.html 23 Mar 2011 01:21:18 -0000 1.78
+++ Overview.html 29 Mar 2011 21:40:41 -0000 1.79
@@ -83,14 +83,14 @@
<h1>CSS Text Level 3</h1>
- <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 March 2011</h2>
+ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 March 2011</h2>
<dl>
<dt>This version:
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
- 2011/03/19 07:41:26 $ (CVS $Revision$)</a> <!--
- <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110323/">http://www.w3.org/TR/2011/WD-css3-text-20110323/</a></dd>
+ 2011/03/23 01:21:18 $ (CVS $Revision$)</a> <!--
+ <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110329/">http://www.w3.org/TR/2011/WD-css3-text-20110329/</a></dd>
-->
@@ -4271,20 +4271,21 @@
<h3 id=line-decoration><span class=secno>11.1. </span> Line Decoration:
Underline, Overline, and Strike-Through</h3>
- <p class=issue>Sync this against CSS2.1.
-
<p>The following properties describe line decorations that are added to the
- content of an element. When specified on an inline element, such
- decoration affects all the boxes generated by that element; for all other
- elements, the decorations are propagated to an anonymous inline box that
- wraps all the in-flow inline children of the element, and to any
- block-level in-flow descendants. They are not, however, further propagated
- to floating and absolutely positioned 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.
+ content of an element. When specified on or propagated to an inline box,
+ such decoration affects all the boxes generated by that element, and is
+ further propagated to any in-flow block-level boxes that split the inline
+ (see <a
+ href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">CSS2.1
+ section 9.2.1.1</a>) When specified on or propagated to a a block
+ container that establishes an inline formatting context, the decorations
+ are propagated to an anonymous inline element that wraps all the in-flow
+ inline-level children of the block container. For all other elements, the
+ decorations are propagated to any in-flow children.
+
+ <p class=note>Note that text decorations are not propagated to any
+ out-of-flow descendants, nor to the contents of atomic inline-level
+ descendants such as inline blocks and inline tables.
<p>By default underlines, overlines, and line-throughs are applied only to
text (including white space, letter spacing, and word spacing): margins,
@@ -4303,10 +4304,7 @@
<p>In determining the position and thickness of text decoration lines, user
agents may consider the font sizes and dominant baselines of descendants,
but for a given element's decoration must use the same baseline and
- thickness on <!-- throughout? --> each line. Relatively positioning a
- descendant moves all text decorations affecting it along with the
- descendant's text; it does not affect calculation of the decoration's
- initial position on that line. The <a
+ thickness throughout each line. The <a
href="#text-decoration-color">color</a> and <a
href="#text-decoration-style">line style</a> of decorations must remain
the same on all decorations applied by a given element, even if descendant
@@ -4326,6 +4324,14 @@
increases.</p>
</div>
+ <p>Relatively positioning a descendant moves all text decorations affecting
+ it along with the descendant's text; it does not affect calculation of the
+ decoration's initial position on that line. The ‘<code
+ class=property>visibility</code>’ property, filters, and other
+ graphical transformations likewise affect text decorations as part of the
+ text they're drawn on, even if the decorations were specified on an
+ ancestor element.
+
<div class=example>
<p>In the following style sheet and document fragment:</p>
@@ -5672,10 +5678,10 @@
<dt id=CSS3FONT>[CSS3FONT]
<dd>John Daggett. <a
- href="http://www.w3.org/TR/2009/WD-css3-fonts-20090618"><cite>CSS Fonts
- Module Level 3.</cite></a> 18 June 2009. W3C Working Draft. (Work in
+ href="http://www.w3.org/TR/2011/WD-css3-fonts-20110324"><cite>CSS Fonts
+ Module Level 3.</cite></a> 24 March 2011. W3C Working Draft. (Work in
progress.) URL: <a
- href="http://www.w3.org/TR/2009/WD-css3-fonts-20090618">http://www.w3.org/TR/2009/WD-css3-fonts-20090618</a>
+ href="http://www.w3.org/TR/2011/WD-css3-fonts-20110324">http://www.w3.org/TR/2011/WD-css3-fonts-20110324</a>
</dd>
<!---->
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -d -r1.176 -r1.177
--- Overview.src.html 23 Mar 2011 01:21:18 -0000 1.176
+++ Overview.src.html 29 Mar 2011 21:40:41 -0000 1.177
@@ -3169,19 +3169,21 @@
<h3 id="line-decoration">
Line Decoration: Underline, Overline, and Strike-Through</h3>
- <p class="issue">Sync this against CSS2.1.</p>
-
<p>The following properties describe line decorations that are added
- to the content of an element. When specified on an inline element,
- such decoration affects all the boxes generated by that element;
- for all other elements, the decorations are propagated to an
- anonymous inline box that wraps all the in-flow inline children of
- the element, and to any block-level in-flow descendants. They are
- not, however, further propagated to floating and absolutely positioned
- 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.</p>
+ to the content of an element. When specified on or propagated to
+ an inline box, such decoration affects all the boxes generated
+ by that element, and is further propagated to any in-flow block-level
+ boxes that split the inline
+ (see <a href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">CSS2.1 section 9.2.1.1</a>)
+ When specified on or propagated to a a block container that establishes
+ an inline formatting context, the decorations are propagated to an
+ anonymous inline element that wraps all the in-flow inline-level children
+ of the block container. For all other elements, the decorations are
+ propagated to any in-flow children.
+
+ <p class="note">Note that text decorations are not propagated to any
+ out-of-flow descendants, nor to the contents of atomic inline-level
+ descendants such as inline blocks and inline tables.
<p>By default underlines, overlines, and line-throughs are applied only
to text (including white space, letter spacing, and word spacing):
@@ -3201,10 +3203,8 @@
<p>In determining the position and thickness of text decoration lines,
user agents may consider the font sizes and dominant baselines of
descendants, but for a given element's decoration must use the same
- baseline and thickness on <!-- throughout? --> each line. Relatively positioning a descendant
- moves all text decorations affecting it along with the descendant's text;
- it does not affect calculation of the decoration's initial position on
- that line. The <a href="#text-decoration-color">color</a> and
+ baseline and thickness throughout each line. The
+ <a href="#text-decoration-color">color</a> and
<a href="#text-decoration-style">line style</a> of decorations must
remain the same on all decorations applied by a given element, even
if descendant elements have different color or line style values.</p>
@@ -3222,6 +3222,13 @@
text increases.</p>
</div>
+ <p>Relatively positioning a descendant moves all text decorations
+ affecting it along with the descendant's text; it does not affect
+ calculation of the decoration's initial position on that line.
+ The 'visibility' property, filters, and other graphical transformations
+ likewise affect text decorations as part of the text they're drawn on,
+ even if the decorations were specified on an ancestor element.
+
<div class="example">
<p>In the following style sheet and document fragment:</p>
<pre><code class="css">
Received on Tuesday, 29 March 2011 21:40:46 UTC