- From: Matthew Brealey <thelawnet@yahoo.com>
- Date: Mon, 7 Feb 2000 01:10:00 -0800 (PST)
- To: www-style <www-style@w3.org>
There appears to have been an oversight regarding :first-letter and :first-line: <blockquote cite="http://www.w3.org/TR/REC-CSS2/selector.html#before-and-after"> When the :first-letter and :first-line pseudo-elements are combined with :before and :after, they apply to the first letter or line of the element including the inserted text. P.special:before {content: "Special! "} P.special:first-letter {color: #ffd800} This will render the "S" of "Special!" in gold. </blockquote> This means that LI:first-letter affects the marker rather than the content, which is clearly absurd. I think this statement should only apply to :before and :after when display: inline. ===== ---------------------------------------------------------- From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS)) __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
Received on Monday, 7 February 2000 04:10:01 UTC