Sign in
webkit
/
WebKit
/
4c3a200792fe75f98ace490134d70f3486493f22
/
.
/
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>