layout/reftests/w3c-css/submitted/variables/variable-reference-02.html

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:aa3f6bf7d9aa
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <!DOCTYPE html>
6 <title>CSS Test: Test the use of a variable in a non-custom property where the value is invalid at computed-value time due to referencing a non-existent variable.</title>
7 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
8 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#invalid-variables">
9 <link rel="match" href="support/color-green-ref.html">
10 <style>
11 :root {
12 --a: crimson;
13 color: red;
14 }
15 body {
16 color: green;
17 }
18 p {
19 color: orange;
20 color: var(--a) var(--b);
21 }
22 </style>
23 <p>This text must be green.</p>

mercurial