Re: Alternate stylesheets and the "disabled" DOM property

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 UTC