mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Move #[css(iterable)] on fields rather than variants
This commit is contained in:
parent
f5393cef8d
commit
85950a801f
10 changed files with 44 additions and 51 deletions
|
@ -145,9 +145,9 @@ impl KeyframePercentage {
|
|||
|
||||
/// A keyframes selector is a list of percentages or from/to symbols, which are
|
||||
/// converted at parse time to percentages.
|
||||
#[css(comma, iterable)]
|
||||
#[css(comma)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq, ToCss)]
|
||||
pub struct KeyframeSelector(Vec<KeyframePercentage>);
|
||||
pub struct KeyframeSelector(#[css(iterable)] Vec<KeyframePercentage>);
|
||||
|
||||
impl KeyframeSelector {
|
||||
/// Return the list of percentages this selector contains.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue