layout/reftests/w3c-css/submitted/variables/variable-declaration-14.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/variables/variable-declaration-14.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<!DOCTYPE html>
     1.9 +<title>CSS Test: Test declaring a variable that consists of a variable reference and a following identifier with no intervening white space.</title>
    1.10 +<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
    1.11 +<link rel="help" href="http://www.w3.org/TR/css-variables-1/#syntax">
    1.12 +<link rel="match" href="support/color-green-ref.html">
    1.13 +<style>
    1.14 +p {
    1.15 +  color: green;
    1.16 +}
    1.17 +span {
    1.18 +  color: red;
    1.19 +  --a:var(--b)red;
    1.20 +  --b:orange;
    1.21 +  color: var(--a);
    1.22 +}
    1.23 +</style>
    1.24 +<p><span>This text must be green.</span></p>

mercurial