summaryrefslogtreecommitdiff
path: root/layout/reftests/css-variables/variables-ruletree-cache-02.html
blob: 6b2b60c3eb51141d0d576302d8bb95041cc8defe (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<style>
  div#a { --foo: purple }
  div#b { --foo: blue }
  p { background-color: var(--foo) }
</style>
<div id="a"><p>This should be purple.</p></div>
<div id="b"><p>This should be blue.</p></div>