layout/reftests/css-mediaqueries/mq_prefers_color_scheme_no_preference.html
author Gurzau Raul <rgurzau@mozilla.com>
Wed, 19 Jun 2019 12:54:41 +0300
changeset 479176 8bce401b8833e8a2b4d187c507c075079275d8ca
parent 459565 4739353088fcad81bc126deab56e8de0fad7a88a
permissions -rw-r--r--
Merge autoland to mozilla-central. a=merge

<!doctype html>
<meta charset="utf-8">
<html>
<title>prefers-color-scheme: no-preference</title>
<style>
div {
  width: 100px;
  height: 100px;
}

@media (prefers-color-scheme: no-preference) {
  div { background-color: green; }
}
@media (prefers-color-scheme: light) {
  div { background-color: red; }
}
@media (prefers-color-scheme: dark) {
  div { background-color: red; }
}
</style>
<div></div>
</html>