Skip to content

Commit

Permalink
Support more XUL properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 4, 2017
1 parent b4d7ed7 commit 58d32b2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions components/style/properties/longhand/xul.mako.rs
Expand Up @@ -16,13 +16,33 @@ ${helpers.single_keyword("-moz-box-align", "stretch start center baseline end",
alias="-webkit-box-align",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-align)")}

${helpers.single_keyword("-moz-box-direction", "normal reverse",
products="gecko", gecko_ffi_name="mBoxDirection",
gecko_enum_prefix="StyleBoxDirection",
animatable=False,
alias="-webkit-box-direction",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-direction)")}

${helpers.predefined_type("-moz-box-flex", "Number", "0.0", "parse_non_negative",
products="gecko", gecko_ffi_name="mBoxFlex",
needs_context=False,
animatable=False,
alias="-webkit-box-flex",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-flex)")}

${helpers.single_keyword("-moz-box-orient", "horizontal vertical",
products="gecko", gecko_ffi_name="mBoxOrient",
gecko_enum_prefix="StyleBoxOrient",
animatable=False,
alias="-webkit-box-orient",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient)")}

${helpers.single_keyword("-moz-box-pack", "start center end justify",
products="gecko", gecko_ffi_name="mBoxPack",
gecko_enum_prefix="StyleBoxPack",
animatable=False,
alias="-webkit-box-pack",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-pack)")}

${helpers.single_keyword("-moz-stack-sizing", "stretch-to-fit ignore",
products="gecko", gecko_ffi_name="mStretchStack",
Expand Down

0 comments on commit 58d32b2

Please sign in to comment.