W3C home > Mailing lists > Public > public-css-testsuite@w3.org > August 2012

[css3-conditional] at-supports-020, at-supports-021 and at-supports-024

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Fri, 3 Aug 2012 16:38:31 -0400
Message-ID: <5e8889192377a9288f6cdf71f10fc1ab.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Florian Rivoal" <florianr@opera.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Hello,

http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/



1-

http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/at-supports-020.html


		<style>
			div {
				height:100px;
				width:100px;
			}
			@supports (margin: 2px) ) {
				div { background-color:red; }
			}
			div { background-color:green; }
		</style>


User agents without @supports implementation may or will "pass" such
test by displaying a green square.


Proposal
--------


		<style>
			div {
                                background-color:red;
				height:100px;
				width:100px;
			}

			@supports (margin: 1px) { div { background-color:green; } }

			@supports (margin: 2px) ) {
				div { background-color:red; }
			}
		</style>



----------------------------

2-

http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/at-supports-021.html



		<style>
			div {
				background-color:red;
				height:100px;
				width:100px;
			}

			@supports (margin:0 );
			div { background-color:green; }
		</style>

User agents without @supports implementation may or will "pass" such
test by displaying a green square.


Proposal
--------

		<style>
			div {
				background-color:red;
				height:100px;
				width:100px;
			}

			@supports (margin:0 );
                        @supports (margin: 1px) { div
{background-color:green;} }
		</style>


------------------

http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/at-supports-024.html

		<style>
			div {
				background-color:red;
				height:100px;
				width:100px;
			}
			@supports;
			div { background-color:green; }
		</style>

User agents without @supports implementation may or will "pass" such
test by displaying a green square.


Proposal
--------

		<style>
			div {
				background-color:red;
				height:100px;
				width:100px;
			}
			@supports;
			@supports (margin: 3px) {div { background-color:green; } }
		</style>


Gérard

PS. Btw, I now understand what "parens" means: it's a diminutive form of
the plural of parenthesis.
-- 
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 harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Friday, 3 August 2012 20:39:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 August 2012 20:39:09 GMT