Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'

This commit is contained in:
WPT Sync Bot 2021-09-07 11:16:33 +00:00 committed by cybai
parent 35e95f55a1
commit 58e8ee674b
9438 changed files with 266112 additions and 106976 deletions

View file

@ -6,25 +6,25 @@
<link rel="author" title="Noah Collins" href="mailto:noahcollins@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-variables-1/#using-variables">
<meta name="assert" content="custom properties are resolved with the normal inheritance and cascade rules">
<link rel="match" href="reference/css-vars-custom-property-inheritance-ref.html">
<link rel="match" href="/css/reference/ref-filled-green-100px-square.xht">
<style type="text/css">
/* test cascade importance */
:root { --color: #1c1 !important; }
:root { --color: red; }
:root { --color-1: green !important; }
:root { --color-1: red; }
div.color1 { background-color: var(--color-1); }
/* test cascade order */
* { color: red; }
/* test cascade order */
* { color: var(--color); }
:root { --color-2: green; }
div.color2 { background-color: red; }
div.color2 { background-color: var(--color-2); }
div { width: 100px; height: 50px; }
</style>
</head>
<body>
<p>Green</p>
<p>Green</p>
<p>Green</p>
<p>The test passes if everything is green. Any red means the test failed.</p>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class=color1></div>
<div class=color2></div>
</body>
</html>