summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-parsing/supports-moz-bool-pref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-parsing/supports-moz-bool-pref.html')
-rw-r--r--layout/reftests/css-parsing/supports-moz-bool-pref.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/css-parsing/supports-moz-bool-pref.html b/layout/reftests/css-parsing/supports-moz-bool-pref.html
new file mode 100644
index 000000000..fe58ab766
--- /dev/null
+++ b/layout/reftests/css-parsing/supports-moz-bool-pref.html
@@ -0,0 +1,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>
+