Bug 1355005 - Add `inline-axis` and `block-axis` aliases for `-moz-box-orient`. draft
authorKuoE0 <kuoe0.tw@gmail.com>
Wed, 19 Apr 2017 14:30:36 +0800
changeset 564983 69bcca5ff888088d84c3a606f240e29a4ee9c233
parent 564706 3f9f6d6086b2d247831d1d03d530095bebd5a6b2
child 564984 df0758212a5a9db72004218d1b7dca1fa977a1c6
push id54740
push userbmo:kuoe0@mozilla.com
push dateWed, 19 Apr 2017 08:33:22 +0000
bugs1355005
milestone55.0a1
Bug 1355005 - Add `inline-axis` and `block-axis` aliases for `-moz-box-orient`. MozReview-Commit-ID: 88AP57llKG4
servo/components/style/properties/longhand/xul.mako.rs
--- a/servo/components/style/properties/longhand/xul.mako.rs
+++ b/servo/components/style/properties/longhand/xul.mako.rs
@@ -26,16 +26,17 @@
 ${helpers.predefined_type("-moz-box-flex", "Number", "0.0", "parse_non_negative",
                           products="gecko", gecko_ffi_name="mBoxFlex",
                           animation_type="none",
                           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",
+                         extra_gecko_aliases="inline-axis=horizontal block-axis=vertical",
                          gecko_enum_prefix="StyleBoxOrient",
                          animation_type="none",
                          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",