W3C home > Mailing lists > Public > www-style@w3.org > July 2003

How far should first-letter and first-line go?

From: Tom Gilder <tom@tom.me.uk>
Date: Sun, 6 Jul 2003 13:07:28 +0100
Message-ID: <12637285140.20030706130728@tom.me.uk>
To: www-style@w3.org

CSS2 and the CSS2.1 draft seem equally vague about the depth as to
which first-letter and first-line should search to find text to apply
themselves to.

Both give the example that p:first-line should apply to "text" in
<p><span>text</span></p>, but what about applying it to the table?

  table:first-letter { color: red; }

As far as I can see the specifications doesn't precisely state if the
td's text should have first-letter applied to it or not. The above
example doesn't work on IE6/win, IE5/mac, Moz1.4, Opera 7 or Safari 1.

Could this be cleared up please? Should these pseudo-elements inherit
through any number of block and inline elements, just inline elements,
or even just to child elements?

Tom Gilder, http://tom.me.uk/
 Blog! http://blog.tom.me.uk/
Received on Sunday, 6 July 2003 08:07:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:08 UTC