- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Tue, 05 Jul 2005 23:51:16 +1000
- To: Orion Adrian <orion.adrian@gmail.com>
- CC: www-style@w3.org
Orion Adrian wrote: > On 7/5/05, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote: > >>Orion Adrian wrote: >> >>>How about this? Prevent reassignment of display in in pseudo-element >>>or pseudoclass. >> >>What problem, exactly, would that solve? > > > That when CSS is making it's pass to determine what selectors apply > you can't have pseudo-class selectors based on other properties No it doesn't. The reason you can't select an element based on properties, which has already been given by Hixie [1] in this thread, is because: "The cascade happens before layout. You don't know an element's display type at the time you are doing selector matching." > because those properties could change in the the selector that > includes or depends on the pseudoclass. Circular references is *not* the core of the problem, it's just an issue that would result *if* it were possible, which it's not. [1] http://lists.w3.org/Archives/Public/www-style/2005Jul/0116 -- Lachlan Hunt http://lachy.id.au/
Received on Tuesday, 5 July 2005 13:51:24 UTC