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