1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 //! [Media queries][mq].
6 //!
7 //! [mq]: https://drafts.csswg.org/mediaqueries/
8 
9 mod media_condition;
10 mod media_list;
11 mod media_query;
12 #[macro_use]
13 pub mod media_feature;
14 pub mod media_feature_expression;
15 
16 pub use self::media_condition::MediaCondition;
17 pub use self::media_feature_expression::MediaFeatureExpression;
18 pub use self::media_list::MediaList;
19 pub use self::media_query::{MediaQuery, MediaQueryType, MediaType, Qualifier};
20 
21 #[cfg(feature = "gecko")]
22 pub use crate::gecko::media_queries::Device;
23 #[cfg(feature = "servo")]
24 pub use crate::servo::media_queries::Device;
25