stylo_static_prefs/
lib.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5//! A list of static preferences exposed to the style crate. These should
6//! be kept sync with the preferences used by the style.
7#[macro_export]
8macro_rules! pref {
9    ("layout.css.stylo-local-work-queue.in-main-thread") => {
10        32
11    };
12    ("layout.css.stylo-work-unit-size") => {
13        16
14    };
15    ("layout.css.stylo-local-work-queue.in-worker") => {
16        0
17    };
18    ("layout.css.system-ui.enabled") => {
19        true
20    };
21    ("layout.css.fit-content-function.enabled") => {
22        true
23    };
24    ("layout.css.outline-offset.snapping") => {
25        1
26    };
27    ("layout.css.relative-color-syntax.enabled") => {
28        true
29    };
30    ("layout.css.stretch-size-keyword.enabled") => {
31        true
32    };
33    ("layout.css.marker.restricted") => {
34        true
35    };
36    ("layout.css.webkit-fill-available.enabled") => {
37        true
38    };
39    ("layout.css.webkit-fill-available.all-size-properties.enabled") => {
40        true
41    };
42    ($string:literal) => {
43        false
44    };
45}