Sign in
webkit
/
WebKit
/
a1b821bd3095346d5e11279026fa60f518e18271
/
.
/
LayoutTests
/
fast
/
css
/
variables
/
rule-property-get-css-value.html
blob: cb028bcc6afc25d9a403190df862fc626fd8d65f [
file
] [
log
] [
blame
]
<html>
<head>
<style>
:
root
{
--
bgcolor
:
green
;
background
:
var
(--
bgcolor
);
}
</style>
<body>
<script>
document
.
write
(
document
.
styleSheets
[
0
].
cssRules
[
0
].
style
.
getPropertyCSSValue
(
"background-color"
).
cssText
)
</script>
</body>
</html.