Skip to content

Commit cbea2bc

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402571
1 parent 42648fe commit cbea2bc

16 files changed

Lines changed: 363 additions & 283 deletions

css2/css2.html

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7167,6 +7167,8 @@ <h4>9.2.1.1 <a name="anonymous-block-level">Anonymous block boxes</a></h4>
71677167

71687168
<p>
71697169
When an inline box contains a block box, the inline box (and its inline ancestors within the same line box) are broken around the block. The line boxes before the break and after the break are enclosed in anonymous boxes, and the block box becomes a sibling of those anonymous boxes.
7170+
When such an inline box is affected by relative positioning,
7171+
the relative positioning also affects the block box.
71707172
</p>
71717173

71727174
<div class="example"><P style="display:none">Example(s):</P>
@@ -10684,6 +10686,9 @@ <h2>10.7 <a name="min-max-heights">Minimum and maximum heights</a>: <a href="vis
1068410686
</li>
1068510687
</ol>
1068610688

10689+
<p class="note">These steps do not affect the real computed values of
10690+
the above properties.</p>
10691+
1068710692
<p>However, for replaced elements with both <a href="visudet.html#propdef-width" class="noxref"><span
1068810693
class="propinst-width">'width'</span></a> and <a href="visudet.html#propdef-height" class="noxref"><span
1068910694
class="propinst-height">'height'</span></a> computed as 'auto', use the
@@ -14770,20 +14775,20 @@ <h3>16.3.1 <a name="lining-striking-props">Underlining, overlining, striking, an
1477014775
positioned descendants, nor to the contents of 'inline-table' and
1477114776
'inline-block' descendants.
1477214777
</p><p>
14773-
If an element contains no text (ignoring white space in elements
14774-
that have 'white-space' set to 'normal', 'pre-line', or 'nowrap'),
14775-
user agents must refrain from rendering text decorations on the
14776-
element. For example, elements containing only images and collapsed
14777-
white space will not be underlined.
14778+
Underlines, overlines, and line-throughs are applied only to text
14779+
(including white space, letter spacing, and word spacing): margins,
14780+
borders, and padding are skipped. If an element contains no text,
14781+
user agents must refrain from rendering these text decorations on the
14782+
element. For example, images will not be underlined.
1477814783
</p><p>
14779-
Text decorations on inline boxes are drawn across the entire
14780-
element, going across any descendant elements without paying any
14781-
attention to their presence. The 'text-decoration' property on
14782-
descendant elements cannot have any effect on the decoration of the
14783-
element. In determining the position of and thickness of text
14784-
decoration lines, user agents may consider the font sizes of and
14785-
dominant baselines of descendants, but must use the same baseline
14786-
and thickness on each line.
14784+
The 'text-decoration' property on descendant elements cannot have any
14785+
effect on the decoration of the ancestor. In determining the position
14786+
of and thickness of text decoration lines, user agents may consider the
14787+
font sizes of and dominant baselines of descendants, but must use the
14788+
same baseline and thickness on each line. Relatively positioning a
14789+
descendant moves all text decorations affecting it along with the
14790+
descendant's text; it does not affect calculation of the decoration's
14791+
initial position on that line.
1478714792
</p>
1478814793

1478914794
<p>Values have the following meanings:</p>
@@ -14807,13 +14812,13 @@ <h3>16.3.1 <a name="lining-striking-props">Underlining, overlining, striking, an
1480714812
<p>
1480814813
The color(s) required for the text decoration must be derived from
1480914814
the <a href="colors.html#propdef-color" class="noxref"><span class="propinst-color">'color'</span></a> property value of the element on which 'text-decoration'
14810-
is set. The color of decorations should remain the same even if
14815+
is set. The color of decorations must remain the same even if
1481114816
descendant elements have different <a href="colors.html#propdef-color" class="noxref"><span class="propinst-color">'color'</span></a> values.
1481214817
</p>
1481314818
<p>
1481414819
Some user agents have implemented text-decoration by
1481514820
propagating the decoration to the descendant elements as opposed to
14816-
simply drawing the decoration through the elements as described
14821+
preserving a constant thickness and line position as described
1481714822
above. This was arguably allowed by the looser wording in CSS2. SVG1,
1481814823
CSS1-only, and CSS2-only user agents may implement the older model
1481914824
and still claim conformance to this part of CSS&nbsp;2.1. (This does not
@@ -17167,7 +17172,7 @@ <h2>18.4 <a name="dynamic-outlines">Dynamic outlines:</a> the <a name="x2"><span
1716717172
thick outline around a BUTTON element:
1716817173
</p>
1716917174
<pre><code class="css">
17170-
button { outline-width : thick }
17175+
button { outline-width : thick solid}
1717117176
</code></pre>
1717217177

1717317178
<p>Scripts may be used to dynamically change the width
@@ -20097,20 +20102,35 @@ <h2><a name="q2">E.2 Painting order</a></h2>
2009720102
<li> border of element.
2009820103
<li> For inline elements:
2009920104
<ol>
20100-
<li> underline of element.
20101-
<li> overline of element.
2010220105
<li> For all the element's in-flow, non-positioned, inline-level
2010320106
children that are in this line box, and all
2010420107
runs of text inside the element that is on this line box,
2010520108
in tree order:
2010620109
<ol>
2010720110
<li> If this is a run of text, then:
2010820111
<ol>
20112+
<li> any underlining affecting the text of the
20113+
element, in tree order of the elements
20114+
applying the underlining (such that the
20115+
deepest element's underlining, if any, is
20116+
painted topmost and the root element's
20117+
underlining, if any, is drawn bottommost).
20118+
<li> any overlining affecting the text of the
20119+
element, in tree order of the elements
20120+
applying the overlining (such that the
20121+
deepest element's overlining, if any, is
20122+
painted topmost and the root element's
20123+
overlining, if any, is drawn bottommost).
2010920124
<li> the text.
20125+
<li> any line-through affecting the text of the
20126+
element, in tree order of the elements
20127+
applying the line-through (such that the
20128+
deepest element's line-through, if any, is
20129+
painted topmost and the root element's
20130+
line-through, if any, is drawn bottommost).
2011020131
</ol>
2011120132
<li> Otherwise, jump to 7.2.1 for that element.
2011220133
</ol>
20113-
<li> line-through of element.
2011420134
</ol>
2011520135
For inline-block and inline-table elements:
2011620136
<ol>

0 commit comments

Comments
 (0)