mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +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
|
@ -92,8 +92,7 @@ pub enum Content {
|
|||
#[cfg(feature = "gecko")]
|
||||
MozAltContent,
|
||||
/// Content items.
|
||||
#[css(iterable)]
|
||||
Items(Box<[ContentItem]>),
|
||||
Items(#[css(iterable)] Box<[ContentItem]>),
|
||||
}
|
||||
|
||||
/// Items for the `content` property.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue