mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
No behavior change, just moving and renaming files. The code in the "queries" module will be shared between @media and @container. @media has some other code that container queries doesn't need like MediaList / MediaType / etc. That remains in the media_queries module. Differential Revision: https://phabricator.services.mozilla.com/D144435
18 lines
579 B
Rust
18 lines
579 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 https://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 = "gecko")]
|
|
pub use crate::gecko::media_queries::Device;
|
|
#[cfg(feature = "servo")]
|
|
pub use crate::servo::media_queries::Device;
|