outline.mako.rs (1575B)
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 <%namespace name="helpers" file="/helpers.mako.rs" /> 6 7 ${helpers.predefined_type( 8 "outline-color", 9 "Color", 10 "computed_value::T::currentcolor()", 11 engines="gecko servo", 12 initial_specified_value="specified::Color::currentcolor()", 13 ignored_when_colors_disabled=True, 14 spec="https://drafts.csswg.org/css-ui/#propdef-outline-color", 15 servo_restyle_damage="repaint", 16 affects="paint", 17 )} 18 19 ${helpers.predefined_type( 20 "outline-style", 21 "OutlineStyle", 22 "computed::OutlineStyle::none()", 23 engines="gecko servo", 24 initial_specified_value="specified::OutlineStyle::none()", 25 animation_type="discrete", 26 spec="https://drafts.csswg.org/css-ui/#propdef-outline-style", 27 servo_restyle_damage="repaint", 28 affects="overflow", 29 )} 30 31 ${helpers.predefined_type( 32 "outline-width", 33 "BorderSideWidth", 34 "computed::BorderSideWidth::medium()", 35 engines="gecko servo", 36 initial_specified_value="specified::BorderSideWidth::medium()", 37 spec="https://drafts.csswg.org/css-ui/#propdef-outline-width", 38 servo_restyle_damage="repaint", 39 affects="overflow", 40 )} 41 42 ${helpers.predefined_type( 43 "outline-offset", 44 "BorderSideOffset", 45 "app_units::Au(0)", 46 engines="gecko servo", 47 spec="https://drafts.csswg.org/css-ui/#propdef-outline-offset", 48 servo_restyle_damage="repaint", 49 affects="overflow", 50 )}