summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-parsing/supports-moz-bool-pref.html
blob: fe58ab766d5aa9f1f10a99b557650c48480bd602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->

<html>
  <style>
  /* This is not a user agent style sheet, so the style will be ignored.
     "testing.supports.moz-bool-pref" is set to true in
     layout/tools/reftest/reftest-preferences.js. */
  @supports -moz-bool-pref("testing.supports.moz-bool-pref") {
    p {
      background-color: red;
    }
  }
  </style>
  <body>
    <p>This text should not have background color.</p>
  </body>
</html>