Skip to content

Commit a98e664

Browse files
committed
Make ::first-line's properties consistent with CSS2.1.
1 parent a5259d1 commit a98e664

2 files changed

Lines changed: 23 additions & 13 deletions

File tree

css3-background/Overview.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,16 @@ <h3 id=placement><span class=secno>2.1. </span> Module Interactions</h3>
410410

411411
<p>This module replaces and extends the background and border features
412412
defined in <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
413-
sections 8.5 and 14.2. All properties in this module apply to the
414-
::first-line and ::first-letter pseudo-elements.
413+
sections 8.5 and 14.2.
414+
415+
<p>All properties in this module apply to the <a
416+
href="http://www.w3.org/TR/CSS21/selector.html#first-letter"><code>::first-letter</code></a>
417+
pseudo-element. The <a href="#backgrounds">background properties</a> also
418+
apply to the <a
419+
href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo"><code>::first-line</code></a>
420+
pseudo-element. The UA may, but is not required to, apply other properties
421+
defined here to these pseudo-elements. <a href="#CSS21"
422+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
415423

416424
<h3 id=value-types><span class=secno>2.2. </span> Value Types</h3>
417425

@@ -4164,13 +4172,9 @@ <h3 id=the-box-shadow><span class=secno>7.2. </span>Drop Shadows: the
41644172
</table>
41654173
</div>
41664174

4167-
<p>The &lsquo;<a href="#box-shadow"><code
4168-
class=css>box-shadow</code></a>&rsquo; property applies to the
4169-
&lsquo;<code class=css>::first-letter</code>&rsquo; pseudo-element, but
4170-
not the &lsquo;<code class=css>::first-line</code>&rsquo; pseudo-element.
4171-
Outer shadows have no effect on internal table elements in the collapsing
4172-
border model. If a shadow is defined for single border edge in the
4173-
collapsing border model that has multiple border thicknesses (e.g. an
4175+
<p>Outer shadows have no effect on internal table elements in the
4176+
collapsing border model. If a shadow is defined for single border edge in
4177+
the collapsing border model that has multiple border thicknesses (e.g. an
41744178
outer shadow on a table where one row has thicker borders than the others,
41754179
or an inner shadow on a rowspanning table cell that adjoins cells with
41764180
different border thicknesses), the exact position and rendering of its

css3-background/Overview.src.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,15 @@ <h3 id="placement">
138138

139139
<p>This module replaces and extends the background and border
140140
features defined in [[!CSS21]] sections 8.5 and 14.2.
141-
All properties in this module apply to the ::first-line and
142-
::first-letter pseudo-elements.
141+
142+
<p>All properties in this module apply to the
143+
<a href="http://www.w3.org/TR/CSS21/selector.html#first-letter"><code>::first-letter</code></a>
144+
pseudo-element. The <a href="#backgrounds">background properties</a>
145+
also apply to the
146+
<a href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo"><code>::first-line</code></a>
147+
pseudo-element.
148+
The UA may, but is not required to, apply other properties defined here
149+
to these pseudo-elements. [[!CSS21]]
143150

144151
<h3 id=value-types>
145152
Value Types</h3>
@@ -3028,8 +3035,7 @@ <h3 id="the-box-shadow">Drop Shadows: the 'box-shadow' property</h3>
30283035
</table>
30293036
</div>
30303037

3031-
<p>The ''box-shadow'' property applies to the ''::first-letter'' pseudo-element,
3032-
but not the ''::first-line'' pseudo-element. Outer shadows have no effect on
3038+
<p>Outer shadows have no effect on
30333039
internal table elements in the collapsing border model. If a shadow is defined
30343040
for single border edge in the collapsing border model that has multiple border
30353041
thicknesses (e.g. an outer shadow on a table where one row has thicker borders

0 commit comments

Comments
 (0)