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

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:f2f8a9ed6ae4
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 using variables in overlapping shorthands.</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-declaration-59-ref.html">
10 <style>
11 p { padding-left: 1em; }
12 #a { --style: solid; --left: black dotted; border-style: var(--style); border-left: var(--left); border-top: none; border-right: none; border-bottom: none; }
13 #b { --style: solid; --left: black dotted; border-left: var(--left); border-style: var(--style); border-top: none; border-right: none; border-bottom: none; }
14 </style>
15 <p id=a>The left border must be dotted.</p>
16 <p id=b>The left border must be solid.</p>

mercurial