W3C home > Mailing lists > Public > public-html@w3.org > February 2009

Re: Rendering: default style for <figure>

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 Feb 2009 09:51:56 -0500
Message-ID: <498C4E8C.9010400@mit.edu>
To: Simon Pieters <simonp@opera.com>
CC: public-html <public-html@w3.org>

Simon Pieters wrote:
> But the :first-child matches in this case which is not expected:
>   <figure>
>    foo
>    <legend>bar</legend>
>   </figure>

I've seen a few of these mails go by, and I'm not sure why we're trying 
to treat the problem as a nail that we can hit with our "existing CSS 
selectors" hammer...

If the constraint we want can't be expressed in existing CSS, we should 
perhaps not be expressing it in CSS, right?

For what it's worth, Gecko happens to support a -moz-first-node selector 
that I think expresses what you're trying to get at here...

Received on Friday, 6 February 2009 14:52:59 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:42 UTC