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

possible CSS spec flaw with Sibling Selector and rowspans

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Fri, 13 Feb 2009 12:19:20 +0100
Message-ID: <e2c275120902130319i68846791m1c12fd1c1362cb@mail.gmail.com>
To: W3C CSS <www-style@w3.org>

Hi working group !

And many thanks for your work.

I found a surprising behavior in FF3 and IE7 using td + td.

This use case gives you the point :

<html>
<head>
<style>
td {background: red;}
td + td {background: blue;}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td rowspan="2">I'm red</td>
<td>I'm blue</td>
</tr>
<tr>
<td>I'm red but shouldn't I be blue ?</td>
</tr>
</tbody>
</table>
</body>
</html>

I did not find anything in the spec about this 'issue' (and I know
about the col tag).

-- 
Olivier G.
http://www.lespacedunmatin.info/blog/
Received on Friday, 13 February 2009 11:19:55 GMT

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