W3C home > Mailing lists > Public > www-style@w3.org > December 1997

Re: body:first-char and specificity of selectors

From: David Perrell <davidp@earthlink.net>
Date: Thu, 18 Dec 1997 10:15:46 -0800
To: <neil@bigpic.com>
Cc: "Style" <www-style@w3.org>
Message-ID: <01bd0be0$f63218a0$3c1cd9cf@davidp>

Shouldn't the P:first-letter apply to the first letter of the EM?

I believe that any inheritable properties applied to P:first-letter that are
not overridden by EM should be displayed.

And if so, doesn't it make sense that I should be able to override
EM:first-letter -- meaning that when EM has a first letter in a block
level element, use this style instead?

Any declarations on EM will override properties inherited from P. EM is a
child of P. Inheritable properties applied to a pseudo-element may be
inherited, the pseudo-element is not.

David Perrell
Received on Thursday, 18 December 1997 13:15:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:46 UTC