summaryrefslogtreecommitdiffstats
path: root/layout/style/test/chrome/chrome-only-media-queries.js
blob: ae71857d6601f8170f9a49af3fef564db00b5ff7 (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
36
37
38
39
40
41
42
const CHROME_ONLY_TOGGLES = [
  "-moz-is-glyph",
  "-moz-print-preview",
  "-moz-non-native-content-theme",
  "-moz-scrollbar-start-backward",
  "-moz-scrollbar-start-forward",
  "-moz-scrollbar-end-backward",
  "-moz-scrollbar-end-forward",
  "-moz-overlay-scrollbars",
  "-moz-windows-classic",
  "-moz-windows-compositor",
  "-moz-windows-default-theme",
  "-moz-mac-graphite-theme",
  "-moz-mac-big-sur-theme",
  "-moz-menubar-drag",
  "-moz-windows-accent-color-in-titlebar",
  "-moz-windows-compositor",
  "-moz-windows-classic",
  "-moz-windows-glass",
  "-moz-windows-non-native-menus",
  "-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-platform: windows-win7)",
  "(-moz-platform: windows-win8)",
  "(-moz-platform: windows-win10)",
  "(-moz-content-prefers-color-scheme: dark)",
  "(-moz-content-prefers-color-scheme: light)",
];