mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +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
|
@ -25,10 +25,11 @@ pub use gecko::media_queries::{Device, Expression};
|
|||
|
||||
/// A type that encapsulates a media query list.
|
||||
#[cfg_attr(feature = "servo", derive(MallocSizeOf))]
|
||||
#[css(comma, iterable)]
|
||||
#[css(comma)]
|
||||
#[derive(Clone, Debug, ToCss)]
|
||||
pub struct MediaList {
|
||||
/// The list of media queries.
|
||||
#[css(iterable)]
|
||||
pub media_queries: Vec<MediaQuery>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue