style: Support prefs for aliases.

Bug: 1453521
Reviewed-by: heycam
MozReview-Commit-ID: 8DAFmLDVYlR
This commit is contained in:
Xidorn Quan 2018-04-12 10:27:43 +10:00 committed by Emilio Cobos Álvarez
parent 441f1cd231
commit 7403ec8b70
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 63 additions and 37 deletions

View file

@ -246,7 +246,8 @@ pub fn parse_border<'i, 't>(
<%helpers:shorthand name="border-image" sub_properties="border-image-outset
border-image-repeat border-image-slice border-image-source border-image-width"
extra_prefixes="moz webkit" spec="https://drafts.csswg.org/css-backgrounds-3/#border-image">
extra_prefixes="moz:layout.css.prefixes.border-image webkit"
spec="https://drafts.csswg.org/css-backgrounds-3/#border-image">
use properties::longhands::{border_image_outset, border_image_repeat, border_image_slice};
use properties::longhands::{border_image_source, border_image_width};

View file

@ -117,7 +117,8 @@ macro_rules! try_parse_one {
};
}
<%helpers:shorthand name="transition" extra_prefixes="moz webkit"
<%helpers:shorthand name="transition"
extra_prefixes="moz:layout.css.prefixes.transitions webkit"
sub_properties="transition-property transition-duration
transition-timing-function
transition-delay"
@ -257,7 +258,8 @@ macro_rules! try_parse_one {
}
</%helpers:shorthand>
<%helpers:shorthand name="animation" extra_prefixes="moz webkit"
<%helpers:shorthand name="animation"
extra_prefixes="moz:layout.css.prefixes.animations webkit"
sub_properties="animation-name animation-duration
animation-timing-function animation-delay
animation-iteration-count animation-direction