Sign in
webkit
/
WebKit
/
38af2d11a53891d36db2adc946c621e143cf63f2
/
.
/
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>