W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Nested :first-letter

From: Simon Fraser <smfr@me.com>
Date: Wed, 08 Sep 2010 17:36:03 -0700
Message-id: <583061D2-E073-414B-AFC6-E4B09B4DF97A@me.com>
To: "www-style@w3.org list" <www-style@w3.org>
What should be the rendering of the following?

<style>
div:first-letter { font-size: 24pt; }
p:first-letter { color: red; }
</style>
<div><p>Text</p></div>

Does the 'T' render in a 24pt font or not?

I don't see anything at <http://www.w3.org/TR/CSS2/selector.html#first-letter> that suggests one rendering over another.

Simon
Received on Thursday, 9 September 2010 00:36:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT