xul.mako.rs (2527B)
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.single_keyword( 8 "-moz-box-align", 9 "stretch start center baseline end", 10 engines="gecko", 11 gecko_ffi_name="mBoxAlign", 12 gecko_enum_prefix="StyleBoxAlign", 13 animation_type="discrete", 14 aliases="-webkit-box-align", 15 spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-align)", 16 affects="layout", 17 )} 18 19 ${helpers.single_keyword( 20 "-moz-box-direction", 21 "normal reverse", 22 engines="gecko", 23 gecko_ffi_name="mBoxDirection", 24 gecko_enum_prefix="StyleBoxDirection", 25 animation_type="discrete", 26 aliases="-webkit-box-direction", 27 spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-direction)", 28 affects="layout", 29 )} 30 31 ${helpers.predefined_type( 32 "-moz-box-flex", 33 "NonNegativeNumber", 34 "From::from(0.)", 35 engines="gecko", 36 gecko_ffi_name="mBoxFlex", 37 aliases="-webkit-box-flex", 38 spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-flex)", 39 affects="layout", 40 )} 41 42 ${helpers.single_keyword( 43 "-moz-box-orient", 44 "horizontal vertical", 45 engines="gecko", 46 gecko_ffi_name="mBoxOrient", 47 gecko_aliases="inline-axis=horizontal block-axis=vertical", 48 gecko_enum_prefix="StyleBoxOrient", 49 animation_type="discrete", 50 aliases="-webkit-box-orient", 51 spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient)", 52 affects="layout", 53 )} 54 55 ${helpers.single_keyword( 56 "-moz-box-pack", 57 "start center end justify", 58 engines="gecko", 59 gecko_ffi_name="mBoxPack", 60 gecko_enum_prefix="StyleBoxPack", 61 animation_type="discrete", 62 aliases="-webkit-box-pack", 63 spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-pack)", 64 affects="layout", 65 )} 66 67 // NOTE(heycam): Odd that the initial value is 1 yet 0 is a valid value. There 68 // are uses of `-moz-box-ordinal-group: 0` in the tree, too. 69 ${helpers.predefined_type( 70 "-moz-box-ordinal-group", 71 "Integer", 72 "1", 73 engines="gecko", 74 parse_method="parse_non_negative", 75 aliases="-webkit-box-ordinal-group", 76 gecko_ffi_name="mBoxOrdinal", 77 animation_type="discrete", 78 spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-box-ordinal-group)", 79 affects="layout", 80 )}