- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 06 Oct 2010 10:54:38 -0400
- To: David Chambers <david.chambers.05@gmail.com>
- CC: www-style@w3.org
On 10/6/10 10:50 AM, David Chambers wrote: > How would you tell that apart from trying to style elements named "h"? > > I'm not sure what you mean by this, Boris. Are you able to elaborate? Sure. Currently in CSS, this style: h { color: green; } would match the <h> node in this markup: <span><h>I should be green</h></span> We can't just arbitrarily define this one tag selector to mean something different. Now what one _could_ do is introduce a :header pseudo-class or something, if it's felt that it would be sufficiently useful.... -Boris
Received on Wednesday, 6 October 2010 15:01:01 UTC