Pseudo-element ambiguities

<q cite="http://www.w3.org/TR/REC-CSS2/selector.html#first-line-pseudo">
The :first-line pseudo-element applies special styles to the first
formatted line of a paragraph. 
</q>

What does this mean? Does it mean that it spans the content of the line
box? If so, then in <p><span style="float: left; width: 1em">T</span>he
float, 'T' isn't matched by :first-line (see Bugzilla bug 13610, which
might not be valid as a result), since 'T' is simply aligned with the
line box, but does not form part of it.

If it matches something more than the content of the line box, it seems
that it should match '1' in:

1   This is a list item. 

, but that doesn't seem right either.

Some clarification of what is matched would be useful.

---------------------------------------
Please visit http://www.richinstyle.com
Featuring:  CSS bug guides (more than 1000 CSS bugs) CSS Masterclass
HTML 4 guide    CSS 1 guide    CSS 2 guide   Web-safe colorizer 
CSS bug table     More than 300 CSS test pages

Received on Thursday, 16 March 2000 10:11:24 UTC