W3C home > Mailing lists > Public > www-style@w3.org > March 2012

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Tue, 6 Mar 2012 15:45:03 -0500
Message-ID: <16ae902edf74c6fd3b352b58d7512615.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: "Public www-style mailing list" <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:51 GMT