W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: [css4-selectors]

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Tue, 29 Nov 2011 11:58:15 +0100
To: www-style@w3.org
Message-ID: <op.v5pffdpzbunlto@oyvinds-desktop>
On Tue, 29 Nov 2011 11:42:50 +0100, Florian Rivoal <florianr@opera.com>  

> <div><div>Foo</div></div>
> div! div {content: "Bar";}
> The selector should match the outer div, the replace its content
> with "Bar", after which it shouldn't match anymore, so we get
> <div>Foo</div> back, at which point it matches again...

Here we have this recurring issue of not clearly distinguishing between  
elements and boxes. Though CSS 2.1 does say this:

"Generated content does not alter the document tree. In particular, it is  
not fed back to the document language processor (e.g., for reparsing)."


Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Tuesday, 29 November 2011 10:58:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:07 UTC