summaryrefslogtreecommitdiffstats
path: root/layout/reftests/reftest-sanity/default-preferences-tests-stylo.list
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/reftest-sanity/default-preferences-tests-stylo.list')
-rw-r--r--layout/reftests/reftest-sanity/default-preferences-tests-stylo.list29
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/reftests/reftest-sanity/default-preferences-tests-stylo.list b/layout/reftests/reftest-sanity/default-preferences-tests-stylo.list
new file mode 100644
index 000000000..907f56c8f
--- /dev/null
+++ b/layout/reftests/reftest-sanity/default-preferences-tests-stylo.list
@@ -0,0 +1,29 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+# test default-preferences
+
+# test default-preferences with a pref()
+default-preferences pref(font.size.variable.x-western,24)
+skip == font-default.html font-default.html
+skip == font-default.html font-default.html
+
+# test that a default preference can be overridden
+skip pref(font.size.variable.x-western,16) == font-default.html font-default.html
+skip pref(font.size.variable.x-western,16) == font-default.html font-default.html
+
+# test that default preferences are kept when other test-specific preferences are set
+skip pref(font.size.variable.zh-HK,36) == font-default.html font-default.html
+skip pref(font.size.variable.zh-HK,36) == font-default.html font-default.html
+
+# test default-preferences with test-pref() and ref-pref()
+default-preferences test-pref(font.size.variable.x-western,16) ref-pref(font.size.variable.x-western,24)
+skip == font-default.html font-default.html
+skip == font-default.html font-default.html
+== font-size-24.html font-size-24.html
+
+# test that default-preferences does not apply to include commands
+include default-preferences-include.list
+
+# test resetting default-preferences
+default-preferences
+skip == font-default.html font-default.html
+