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.

Received on Tuesday, 21 August 2012 18:29:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:38 UTC