summaryrefslogtreecommitdiffstats
path: root/layout/style/test/chrome/chrome-only-media-queries.js
blob: d17976149bc30f36c8e42557bdb57c4fe261e273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const CHROME_ONLY_TOGGLES = [
  "-moz-is-glyph",
  "-moz-print-preview",
  "-moz-scrollbar-start-backward",
  "-moz-scrollbar-start-forward",
  "-moz-scrollbar-end-backward",
  "-moz-scrollbar-end-forward",
  "-moz-overlay-scrollbars",
  "-moz-mac-big-sur-theme",
  "-moz-menubar-drag",
  "-moz-windows-accent-color-in-titlebar",
  "-moz-swipe-animation-enabled",
  "-moz-gtk-csd-available",
  "-moz-gtk-csd-minimize-button",
  "-moz-gtk-csd-maximize-button",
  "-moz-gtk-csd-close-button",
  "-moz-gtk-csd-reversed-placement",
  "-moz-panel-animations",
];

// Non-parseable queries can be tested directly in
// `test_chrome_only_media_queries.html`.
const CHROME_ONLY_QUERIES = [
  "(-moz-platform: linux)",
  "(-moz-platform: windows)",
  "(-moz-platform: macos)",
  "(-moz-platform: android)",
  "(-moz-content-prefers-color-scheme: dark)",
  "(-moz-content-prefers-color-scheme: light)",
  "(-moz-gtk-theme-family: unknown)",
  "(-moz-gtk-theme-family: adwaita)",
  "(-moz-gtk-theme-family: breeze)",
  "(-moz-gtk-theme-family: yaru)",
  "(forced-colors: requested)",
];