Re: Alternate stylesheets and the "disabled" DOM property

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.


Received on Wednesday, 22 October 2003 10:24:59 UTC