Re: [RC6] list-style-013, list-style-014 and list-style-015 invalid, incorrect (issue 94)

Le Lun 11 avril 2011 7:11, Øyvind Stenhaug a écrit :
> On Sat, 09 Apr 2011 07:32:49 +0200, Gérard Talbot
> <css21testsuite@gtalbot.org> wrote:
>
>>> "
>>> A value of 'none' within the 'list-style' property sets whichever of
>>> 'list-style-type' and 'list-style-image' are not otherwise specified
>>> to
>>> 'none'. However, if both are otherwise specified, the declaration is
>>> in
>>> error (and thus ignored).
>>> "
>>> http://www.w3.org/TR/CSS21/generate.html#lists
>>>
>>>
>>> So, in list-style-013
>>>
>>>             div
>>>             {
>>>                 display: list-item;
>>>                 list-style: inside none square;
>>>             }
>>>
>>> should have
>>> list-style: inside none square;
>>> ignored. And only
>>> display: list-item;
>>> should be valid. So, the expected result for that list-style-013
>>> testcase should be an outside list-marker bullet (filled disc).
>
> No, the declaration is not an error, since 'list-style-image' is not
> "otherwise specified". It is equivalent to
>
> list-style-position: inside;
> list-style-image: none;
> list-style-type: square;
>
>> Right now, Firefox 3.6.16, Firefox 4.0, Opera 11.01, IE8 and Konqueror
>> 4.6.1 fail those 3 tests.
>> Chrome 10.0.648.204 and Safari 5.0.4 pass these 3 testcases with
>> Chrome
>> spotting and reporting the CSS parsing error.
>
> Chrome/Safari are the ones that fail according to the spec. Apparently
> the
> CSS validator has a bug too.
>
> --
> Øyvind Stenhaug
> Core Norway, Opera Software ASA
>


I read this sentence at least 20 times:

"
A value of 'none' within the 'list-style' property sets whichever of
'list-style-type' and 'list-style-image' are not otherwise specified
to 'none'.
"

and I still think my interpretation of the verbatim here is correct.
Either way, I know I am reporting an error somewhere: with the wording
of the spec, with the validator and/or with the 3 testcases.


Gérard Talbot
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Monday, 11 April 2011 14:40:13 UTC