1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-variables/variables-ruletree-cache-01.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,8 @@ 1.4 +<!DOCTYPE html> 1.5 +<style> 1.6 + p { --foo: purple; background-color: var(--foo) } 1.7 + p#myid { --foo: blue } 1.8 +</style> 1.9 +<p>This should be purple, and might cache background in the rule tree.</p> 1.10 +<p id="myid">This should be blue, and can't used that cached struct, 1.11 +which really shouldn't be cached anyway.</p>