- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 5 Apr 2004 16:56:42 +0000 (UTC)
- To: Matthew.van.Eerde@hbinc.com
- Cc: www-style@w3.org
On Mon, 5 Apr 2004 Matthew.van.Eerde@hbinc.com wrote:
>
> And the CSS as such:
> /* either */
> #ian td[column=~2] { display: none; }
But that doesn't make sense: How can a td be in a column, if it isn't a
table-cell?
If you have:
<a>
<b/>
<c/>
<b/>
</a>
...and:
a { display: table; }
b { display: table-cell; }
c { display: block; }
...then there are three columns (according to CSS2). But you can't know
this when you do the cascade, you only know it _after_ you have done the
cascade. So then:
b[column=3] { color: blue; }
...could never be matched, since you need to know that _before_ the
cascade.
--
Ian Hickson )\._.,--....,'``. fL
U+1047E /, _.. \ _\ ;`._ ,.
http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 5 April 2004 12:57:04 UTC