variable-reference-31.html (598B)
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 declaring a non-custom property with a variable reference that has a digit after the "--" prefix.</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/#using-variables"> 9 <link rel="match" href="support/color-green-ref.html"> 10 <style> 11 body { 12 color: orange; 13 } 14 p { 15 color: red; 16 --0: green; 17 color: var(--0); 18 } 19 </style> 20 <p>This text must be green.</p>