mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
# 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
|
|
|