Sign in
nest-open-source
/
manifest_repos
/
chromium_src
/
1389d67935ffbffe8a70c1fa06867f6cf7ecf464
/
.
/
chromium
/
src
/
third_party
/
blink
/
web_tests
/
external
/
wpt
/
html
/
semantics
/
document-metadata
/
the-meta-element
/
color-scheme
/
support
/
compute-root-color-scheme.js
blob: 8ceddbc40bf2cdc37c0c26e0bede9b7a24892caf [
file
] [
log
] [
blame
]
'use strict'
;
function
assert_root_color_scheme
(
expected
,
description
)
{
test
(()
=>
{
assert_equals
(
getComputedStyle
(
document
.
documentElement
).
colorScheme
,
expected
),
"Check root element color scheme"
;
},
description
);
}