|
Posted by jojo on 07/23/06 11:35
dorayme wrote:
>>>>>> ASFAIK the order doesn't really matter. But specs (see:
>>>>>> http://www.w3.org/TR/REC-CSS2/propidx.html ) say that it has to be
>>>>>> 'width' 'style' 'color'.
>>>>> Does not say any such thing at your reference.
>>>>>
>>>> It does!
>>>>
>>>> 'border' [ 'border-width' || 'border-style' || <color> ]|inherit
>>>
>>> Ok, let me explain: to press your point home you need to give the
>>> OP a reference to how this is to be read. Your reference, in
>>> itself, does not contain any instructions as to whether the order
>>> printed here is mandatory. You might think it obvious. It is not
>>> obvious to me nor might it be to the OP. You need to reference
>>> the meaning of "||" as well.
>> It was pretty well hidden, but I knew they had to have it somewhere:
>>
>> http://www.w3.org/TR/REC-CSS2/about.html
>> ...seems to have the necessary info for interpreting:
>> http://www.w3.org/TR/REC-CSS2/propidx.html
>>
>> The most relevant section:
>> <quoting>
>> * Several juxtaposed words mean that all of them must occur,
>> in the given order
>> * A bar (|) separates two or more alternatives:
>> exactly one of them must occur.
Would have guessed so.
>> * A double bar (||) separates two or more options:
>> one or more of them must occur, in any order.
Oh, my apologies. I did not find the info how to interpret this. My
explanation for || would have been:
* A double bar (||) separates two or more options:
one or more of them must occur, in the given order.
>> * Brackets ([ ]) are for grouping.
>> </quoting>
>
> Yes, this seems to be definitive. As jojo implied, browsers seem
> not to be bothered though... I tested in all my Mac browsers.
And every browser on windows I have (Opera, Firefox, IE6) ignore the
order, too. Yes, even IE does it right...
>
> (Well found, mb...)
>
Navigation:
[Reply to this message]
|