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