W3C home > Mailing lists > Public > www-style@w3.org > September 2003

Re: Alternate stylesheets and the "disabled" DOM property

From: Daniel Glazman <danielglazman@easyconnect.fr>
Date: Tue, 30 Sep 2003 22:17:43 +0200
Message-ID: <3F79E4E7.3010408@easyconnect.fr>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: www-style@w3.org

Boris Zbarsky wrote:

>>cons: no DOM mechanism to directly select a set based on its name. That's
>>connex to your item above but deserves to be mentioned independently.
> 
> 
> As I previously said (though not clearly in my original mail), both options
> would have that capability.  The only question is what selection by name would
> do -- apply all sheets with that name, or apply all sheets with that name that
> are enabled?

Why do you have to chose ? Since you are talking of a new API, add an
extra boolean parameter with true = "reset disabled attribute"  and
false = "disabled sheets remain disabled".

>>I think approach #2 is more logical and in the end offers more control to both
>>the web author and the user on the document's rendering
> 
> 
> Could you amplify on this?  A use case would help here....


Editors (or editing environments embedded in a browser for instance,
contenteditable for IE, Midas for Mozilla) are an excellent use case...

</Daniel>
-- 
"Really, I'm not out to destroy Microsoft. That will just be a
completely unintentional side effect."          Linus Torvalds
Received on Tuesday, 30 September 2003 16:18:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:23 GMT