- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 12 Mar 2014 20:15:40 -0700
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style list <www-style@w3.org>
On Tue, Mar 11, 2014 at 8:12 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > Any change to @namespace rules also changes the meaning of other rules. > Implementations would have to go and re-parse (or at least re-compile) > Selectors in the rest of the stylesheet. > > Maybe the flexibility is worth the implementation cost. On the other hand I > don’t know if Namespaces is something people are interested in spending > effort improving, rather than a legacy feature we’re stuck supporting for > compatibility with deployed content. I dont' know about other impls, but Blink/Webkit generally just reparses the entire stylesheet after *any* change. I dunno what optimizations may exist there, but I know we're generally pretty pessimistic and just blow things away and reparse, because it's simpler that way. So having to do that for a @namespace change isn't a big deal for us either. ~TJ
Received on Thursday, 13 March 2014 03:16:27 UTC