Skip to content

Commit

Permalink
Use a fallback "false" faluse for servo_static_prefs (#48)
Browse files Browse the repository at this point in the history
Emilio suggested this as a first step toward upstreaming this crate.
  • Loading branch information
mrobinson authored Jun 21, 2024
1 parent 0ebbf53 commit ffcfaf6
Showing 1 changed file with 3 additions and 144 deletions.
147 changes: 3 additions & 144 deletions style_static_prefs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,157 +6,16 @@
//! be kept sync with the preferences used by the style.
#[macro_export]
macro_rules! pref {
("browser.display.permit_backplate") => {
false
};
("browser.display.use_document_fonts") => {
false
};
("dom.customHighlightAPI.enabled") => {
false
};
("dom.element.popover.enabled") => {
false
};
("gfx.font_rendering.opentype_svg.enabled") => {
false
};
("layout.css.at-scope.enabled") => {
false
};
("layout.css.basic-shape-rect.enabled") => {
false
};
("layout.css.basic-shape-shape.enabled") => {
false
};
("layout.css.basic-shape-xywh.enabled") => {
false
};
("layout.css.contain-intrinsic-size.enabled") => {
false
};
("layout.css.content.alt-text.enabled") => {
false
};
("layout.css.content-visibility.enabled") => {
false
};
("layout.css.control-characters.visible") => {
false
};
("layout.css.cross-fade.enabled") => {
false
};
("layout.css.element-content-none.enabled") => {
false
};
("layout.css.fit-content-function.enabled") => {
false
};
("layout.css.font-palette.enabled") => {
false
};
("layout.css.font-tech.enabled") => {
false
};
("layout.css.font-variant-emoji.enabled") => {
false
};
("layout.css.font-variations.enabled") => {
false
};
("layout.css.forced-color-adjust.enabled") => {
false
};
("layout.css.forced-colors.enabled") => {
false
};
("layout.css.gradient-color-interpolation-method.enabled") => {
false
};
("layout.css.grid-template-masonry-value.enabled") => {
false
};
("layout.css.has-selector.enabled") => {
false
};
("layout.css.import-supports.enabled") => {
false
};
("layout.css.inverted-colors.enabled") => {
false
};
("layout.css.light-dark.enabled") => {
false
};
("layout.css.margin-rules.enabled") => {
false
};
("layout.css.marker.restricted") => {
false
};
("layout.css.math-depth.enabled") => {
false
};
("layout.css.math-style.enabled") => {
false
};
("layout.css.motion-path-url.enabled") => {
false
};
("layout.css.moz-control-character-visibility.enabled") => {
false
};
("layout.css.nesting.enabled") => {
false
};
("layout.css.overflow-moz-hidden-unscrollable.enabled") => {
false
};
("layout.css.page-orientation.enabled") => {
false
};
("layout.css.prefers-contrast.enabled") => {
false
};
("layout.css.prefers-reduced-transparency.enabled") => {
false
};
("layout.css.properties-and-values.enabled") => {
false
};
("layout.css.relative-color-syntax.enabled") => {
false
};
("layout.css.scroll-driven-animations.enabled") => {
false
};
("layout.css.size-adjust.enabled") => {
false
};
("layout.css.starting-style-at-rules.enabled") => {
false
};
("layout.css.stylo-local-work-queue.in-main-thread") => {
32
};
("layout.css.stylo-local-work-queue.in-worker") => {
0
};
("layout.css.stylo-threads") => {
false
};
("layout.css.stylo-work-unit-size") => {
16
};
("layout.css.system-ui.enabled") => {
false
};
("layout.css.text-indent-keywords.enabled") => {
false
("layout.css.stylo-local-work-queue.in-worker") => {
0
};
("layout.css.transition-behavior.enabled") => {
($string:literal) => {
false
};
}

0 comments on commit ffcfaf6

Please sign in to comment.