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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 shorthand property containing a variable reference.</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/#variables-in-shorthands">
     9 <link rel="match" href="variable-reference-36-ref.html">
    10 <style>
    11 p {
    12   background-color: red;
    13   --a: url(nothing) green;
    14   background: var(--a);
    15   color: white;
    16 }
    17 </style>
    18 <p>This text must have a green background color.</p>

mercurial