blob: c272053bc3268e8baf5576de9f9a5fc3d80310ca [file] [log] [blame]
<html>
<head>
<style>
:root {
--one: calc(var(--two) + 20px);
--two: calc(var(--one) - 20px);
}}
</style>
<body>
<script>
document.write("One: " + getComputedStyle(document.documentElement).getPropertyValue("--one") + "Two: " + getComputedStyle(document.documentElement).getPropertyValue("--two"))
</script>
</body>
</html>