diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/reftest-sanity/default-preferences-tests.list | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/reftest-sanity/default-preferences-tests.list')
-rw-r--r-- | layout/reftests/reftest-sanity/default-preferences-tests.list | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/reftest-sanity/default-preferences-tests.list b/layout/reftests/reftest-sanity/default-preferences-tests.list new file mode 100644 index 000000000..9e72bf2ad --- /dev/null +++ b/layout/reftests/reftest-sanity/default-preferences-tests.list @@ -0,0 +1,28 @@ +# test default-preferences + +# test default-preferences with a pref() +default-preferences pref(font.size.variable.x-western,24) +!= font-default.html font-size-16.html +== font-default.html font-size-24.html + +# test that a default preference can be overridden +pref(font.size.variable.x-western,16) == font-default.html font-size-16.html +pref(font.size.variable.x-western,16) != font-default.html font-size-24.html + +# test that default preferences are kept when other test-specific preferences are set +pref(font.size.variable.zh-HK,36) != font-default.html font-size-16.html +pref(font.size.variable.zh-HK,36) == font-default.html font-size-24.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) +!= font-default.html font-default.html +== font-default.html font-size-16.html +== font-size-24.html font-default.html + +# test that default-preferences does not apply to include commands +include default-preferences-include.list + +# test resetting default-preferences +default-preferences +== font-default.html font-default.html + |