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

Re: Alternate stylesheets and the "disabled" DOM property

From: David Hyatt <hyatt@apple.com>
Date: Mon, 29 Sep 2003 10:23:07 -0700
Message-Id: <9723D512-F2A1-11D7-9D28-00039382AC6C@apple.com>
Cc: Chris Moschini <cmoschini@myrealbox.com>, www-style@w3.org
To: Boris Zbarsky <bzbarsky@MIT.EDU>

Safari actually implements such an extension.  It implements two new 
properties, "preferredStylesheetSet" and "selectedStylesheetSet".  The 
first property is read-only. The second is settable.

dave

On Sep 29, 2003, at 8:14 AM, Boris Zbarsky wrote:

>
>
>> Finally, if method 2 were chosen, where would the "selectedTitle" 
>> attribute=
>>  sit in the DOM? Would it? I hope it would for scripting's sake...
>
> On an interface implemented by the document object.
>
> Such an attribute would need to exist in any case, because switching 
> style sets
> is so much faster than enabling/disabling individual sheets (because 
> you can
> batch all the sheet munging before reresolving style).
>
> Thanks for the feedback,
> Boris
> -- 
>     "What the hell are you getting so upset about?  I
> thought you didn't believe in God."
>     "I don't," she sobbed, bursting violently into
> tears, "but the God I don't believe in is a good God, a
> just God, a merciful God.  He's not the mean and stupid
> God you make Him out to be."
>
>                      --Joseph Heller, "Catch-22"
>
Received on Monday, 29 September 2003 13:22:57 GMT

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