Source code

Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
<%namespace name="helpers" file="/helpers.mako.rs" />
${helpers.predefined_type(
"cursor",
"Cursor",
"computed::Cursor::auto()",
engines="gecko servo",
initial_specified_value="specified::Cursor::auto()",
animation_type="discrete",
affects="paint",
)}
${helpers.predefined_type(
"pointer-events",
"PointerEvents",
"specified::PointerEvents::Auto",
engines="gecko servo",
animation_type="discrete",
affects="paint",
)}
${helpers.predefined_type(
"-moz-inert",
"Inert",
"specified::Inert::None",
engines="gecko",
gecko_ffi_name="mInert",
animation_type="discrete",
enabled_in="ua",
affects="paint",
)}
${helpers.predefined_type(
"-moz-user-input",
"UserInput",
"specified::UserInput::Auto",
engines="gecko",
gecko_ffi_name="mUserInput",
animation_type="discrete",
gecko_pref="layout.css.moz-user-input.enabled",
has_effect_on_gecko_scrollbars=False,
affects="",
enabled_in="ua",
)}
${helpers.predefined_type(
"-moz-user-focus",
"UserFocus",
"specified::UserFocus::Normal",
engines="gecko",
gecko_ffi_name="mUserFocus",
animation_type="discrete",
enabled_in="chrome",
affects="",
)}
${helpers.predefined_type(
"caret-color",
"color::CaretColor",
"generics::color::CaretColor::auto()",
engines="gecko",
ignored_when_colors_disabled=True,
affects="paint",
)}
${helpers.predefined_type(
"accent-color",
"ColorOrAuto",
"generics::color::ColorOrAuto::Auto",
engines="gecko",
ignored_when_colors_disabled=True,
affects="paint",
)}
${helpers.predefined_type(
"color-scheme",
"ColorScheme",
"specified::color::ColorScheme::normal()",
engines="gecko servo",
servo_pref="layout.unimplemented",
animation_type="discrete",
ignored_when_colors_disabled=True,
affects="paint",
)}
${helpers.predefined_type(
"scrollbar-color",
"ScrollbarColor",
"Default::default()",
engines="gecko",
boxed=True,
ignored_when_colors_disabled=True,
affects="paint",
)}
${helpers.predefined_type(
"-moz-theme",
"MozTheme",
"specified::MozTheme::Auto",
engines="gecko",
enabled_in="chrome",
animation_type="discrete",
spec="Internal",
affects="paint",
)}