W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: Proposal for "Cascading Attribute Sheets" - like CSS, but for attributes!

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 21 Aug 2012 14:27:32 -0400
Message-ID: <5033D314.2030606@mit.edu>
To: public-webapps@w3.org
On 8/21/12 2:17 PM, Tab Atkins Jr. wrote:
> My thought right now is that your CAS is only
> applied to elements when they are inserted into the DOM

If an element is removed, is the CAS "unapplied"?

If not, what happens if the element is removed and then reinserted?

> (Slight weirdness here - a CAS file can reset its own @src attribute
> to load *another* CAS file.  A <script> can do the same, though.
> Acceptable or not?)

A <script> is evaluated once, period.  Changing its @src after it has 
run does not start a new load.

-Boris
Received on Tuesday, 21 August 2012 18:29:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:54 GMT