W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: possible CSS spec flaw with Sibling Selector and rowspans

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 13 Feb 2009 08:45:04 -0500
Message-ID: <49957960.6030200@mit.edu>
To: Olivier GENDRIN <olivier.gendrin@gmail.com>, www-style list <www-style@w3.org>

Olivier GENDRIN wrote:
> This use case gives you the point :
> <tr>
> <td>I'm red but shouldn't I be blue ?</td>
> </tr>

That "td" has no previous sibling, so can't possibly match "td + td".

Remember, matching happens on the DOM tree.  Have you looked at what the 
DOM tree looks like in this case?

Received on Friday, 13 February 2009 13:45:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC