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

Re: Alternate stylesheets and the "disabled" DOM property

From: fantasai <fantasai@escape.com>
Date: Wed, 22 Oct 2003 10:25:09 -0400
Message-ID: <3F969345.5000806@escape.com>
To: www-style@w3.org

Ian Hickson wrote:

> On Tue, 30 Sep 2003, fantasai wrote:
> 
>>Consider the following:
>>
>><link rel="stylesheet" href="default.css" title="Preferred">
>><link rel="alternate stylesheet" href="green.css" title="Forest">
>><link rel="alternate stylesheet" href="forest.css" title="Forest">
>><link rel="alternate stylesheet" href="blue.css" title="Ocean">
>><link rel="alternate stylesheet" href="ocean.css" title="Ocean">
>>
>>Now. Suppose:
>>
>>   1. I select Ocean from the Use Style menu.
>>   2. The page scripts all style sheets disabled except  forest.css
>>                                                    and  blue.css
>>   3. I open the Use Style menu again.
>>
>>What do I see?
 >>
 >>If enabling/disabling style sheets is the mechanism for selecting
 >>among alternate styles, this is an ambiguous situation.
> 
> No particular style set selected. The option to choose whatever set you
> want.

That's probably the most reasonable behavior, given the circumstances,
but the it's still ambiguous.

~fantasai
Received on Wednesday, 22 October 2003 10:24:59 GMT

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