summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/variables/no-assert-serializing-shorthand-variable-references.html
blob: 144ebe0071218388e0efe155387f280e79a6a0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>

<style>
:root { --bgcolor: green; background: 10px var(--bgcolor); }
</style>
<script>
var test = test(function() {
  document.write(document.styleSheets[0].cssRules[0].cssText)
}, 'shorthand variable references can be serialized');

</script>