layout/reftests/w3c-css/submitted/conditional3/css-supports-020.xht

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3 <head>
michael@0 4 <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
michael@0 5 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
michael@0 6 <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
michael@0 7 <meta name="flags" content="" />
michael@0 8 <meta name="assert" content="An @supports condition that is a declaration with a supported property name with an unsupported value must fail."/>
michael@0 9 <link rel="match" href="support/pass.xht" />
michael@0 10 <style type="text/css"><![CDATA[
michael@0 11 html { background-color: green }
michael@0 12 @supports (unknown: green) {
michael@0 13 html { background-color: red }
michael@0 14 }
michael@0 15 ]]></style>
michael@0 16 </head>
michael@0 17 <body>
michael@0 18 </body>
michael@0 19 </html>

mercurial