1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/variables/variable-reference-38.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 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 using variables in overlapping shorthands.</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/#variables-in-shorthands"> 1.12 +<link rel="match" href="variable-declaration-59-ref.html"> 1.13 +<style> 1.14 +p { padding-left: 1em; } 1.15 +#a { --style: solid; --left: black dotted; border-style: var(--style); border-left: var(--left); border-top: none; border-right: none; border-bottom: none; } 1.16 +#b { --style: solid; --left: black dotted; border-left: var(--left); border-style: var(--style); border-top: none; border-right: none; border-bottom: none; } 1.17 +</style> 1.18 +<p id=a>The left border must be dotted.</p> 1.19 +<p id=b>The left border must be solid.</p>