Skip to content

Commit 262f482

Browse files
committed
Bug 1855763 - Disable -moz-transform and enable zoom on Nightly. r=zcorpan
Disable zoom on a couple tests that otherwise fail. They're known issues: * offsetWidth/Height not being unzoomed (button-min-width). * getComputedStyle not being unzoomed (font-size-interpolation-003.html) * ResizeObserver box not being unzoomed (w3c/csswg-drafts#9398). Differential Revision: https://phabricator.services.mozilla.com/D189644
1 parent 3fa8650 commit 262f482

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

modules/libpref/init/StaticPrefList.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8637,7 +8637,7 @@
86378637
# Is support for -moz-prefixed transform properties enabled?
86388638
- name: layout.css.prefixes.transforms
86398639
type: bool
8640-
value: true
8640+
value: @IS_NOT_NIGHTLY_BUILD@
86418641
mirror: always
86428642

86438643
# Is support for -moz-prefixed transition properties enabled?
@@ -8798,7 +8798,7 @@
87988798
# Support for the css Zoom property.
87998799
- name: layout.css.zoom.enabled
88008800
type: RelaxedAtomicBool
8801-
value: false
8801+
value: @IS_NIGHTLY_BUILD@
88028802
mirror: always
88038803
rust: true
88048804

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
[font-size-interpolation-003.html]
2-
expected:
3-
if (os == "linux") and not debug and fission: [OK, CRASH]
4-
if (os == "android") and fission: [TIMEOUT, OK]
2+
prefs: [layout.css.zoom.enabled:false]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[button-min-width.html]
2+
prefs: [layout.css.zoom.enabled:false]

testing/web-platform/meta/resize-observer/observe.html.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[observe.html]
2+
prefs: [layout.css.zoom.enabled:false]
23
expected:
34
if (os == "mac") and not debug: [OK, TIMEOUT]
4-
if (os == "android") and fission: [OK, TIMEOUT]
55
[guard]
66
expected:
77
if (os == "mac") and not debug: [PASS, NOTRUN]

0 commit comments

Comments
 (0)