Re: [css3-background] Negative border-width should be clearly disallowed (was: [CSS21] WD 8.5.1: negative borders (presumed editorial))

Le Lun 5 mars 2012 17:47, Kang-Hao (Kenny) Lu a écrit :

[snipped]

> Currently tests in CSS2.1 related to negative border
> width are all marked as invalid presumably because of this sloppy
> sentence (am I right? From the system I couldn't find the reason why
> they are marked invalid).

Yes. Those tests in CSS2.1 test suite (with negative border width) are
marked (and should be marked) invalid for that reason: negative border
width are illegal values.

http://www.w3.org/TR/CSS21/syndata.html#parsing-errors



>
> All browsers interoperably treat negative border-width as invalid. Opera
> didn't have testing results for some of the border-top-width-* tests
> that use negative width (i.e. 012, 023, 034, 056, 067, 078)[3], although
> these tests all pass in Opera12alpha.

These tests all pass in Opera 11.61 too.

>
> In summary, I suggest we just say
>
>   | Negative values are not allowed.
>
> (I am for this change in CSS2.1 too)
>
> [1] http://www.w3.org/TR/css3-box/
> [2] (the mail this mail replies to)
> http://lists.w3.org/Archives/Public/www-style/2011Jan/0107

I actually agree with that www-style/2011Jan/0107 post.

> [3] http://test.csswg.org/harness/results/CSS21_DEV/section/8.5.1/


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

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Tuesday, 6 March 2012 20:45:33 UTC