mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
style: Support prefs for aliases.
Bug: 1453521 Reviewed-by: heycam MozReview-Commit-ID: 8DAFmLDVYlR
This commit is contained in:
parent
441f1cd231
commit
7403ec8b70
7 changed files with 63 additions and 37 deletions
|
@ -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};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue