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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <!DOCTYPE html>
michael@0 6 <title>CSS Test: Test declaring a non-custom shorthand property containing a variable reference, with a subsequent property in the declaration block that overrides one of the shorthand's components.</title>
michael@0 7 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
michael@0 8 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#variables-in-shorthands">
michael@0 9 <link rel="match" href="variable-reference-37-ref.html">
michael@0 10 <style>
michael@0 11 p {
michael@0 12 --a: url(nothing) red;
michael@0 13 background: var(--a);
michael@0 14 background-color: green;
michael@0 15 color: white;
michael@0 16 }
michael@0 17 </style>
michael@0 18 <p>This text must have a green background color.</p>

mercurial