Sign in
webkit
/
WebKit
/
5ee61c06e54d41c4ffb65d69f6b4605c35afb105
/
.
/
LayoutTests
/
fast
/
css
/
variables
/
custom-property-computed-style-access.html
blob: 28289ef85698d66c95d7068bfeee08f7adae64c5 [
file
] [
log
] [
blame
]
<html>
<head>
<style>
:
root
{
--
one
:
20px
;
--
another
:
10px
var
(--
one
)
30px
;
}
</style>
<body>
<script>
document
.
write
(
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
"--another"
))
</script>
</body>
</html>