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