mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Which is more appropriate, given it represents a `<media-feature>` per spec, and expression is a bit overloaded :) Bug: 1422225 Reviewed-by: xidorn MozReview-Commit-ID: Fed1nJhHxDu
18 lines
616 B
Rust
18 lines
616 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
//! [Media queries][mq].
|
|
//!
|
|
//! [mq]: https://drafts.csswg.org/mediaqueries/
|
|
|
|
mod media_list;
|
|
mod media_query;
|
|
|
|
pub use self::media_list::MediaList;
|
|
pub use self::media_query::{MediaQuery, MediaQueryType, MediaType, Qualifier};
|
|
|
|
#[cfg(feature = "servo")]
|
|
pub use servo::media_queries::{Device, MediaFeatureExpression};
|
|
#[cfg(feature = "gecko")]
|
|
pub use gecko::media_queries::{Device, MediaFeatureExpression};
|