gecko-dev/layout/reftests/css-variables/variables-ruletree-cache-02.html

9 lines
214 B
HTML

<!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>