haikuwebkit/LayoutTests/fast/css/custom-properties/computed-style-access.html

12 lines
279 B
HTML

<html>
<head>
<style>
:root { --one: 10px; --another: 20px; }
</style>
<body>
<script>
document.write(getComputedStyle(document.documentElement).getPropertyValue("--one") + " " + getComputedStyle(document.documentElement).getPropertyValue("--another"))
</script>
</body>
</html.