Module style::servo::media_queries
source · Expand description
Servo’s media-query device and expression representation.
Structs
- A device is a structure that represents the current media a given document is displayed in.
- A list with all the media features that Servo supports.
Enums
- Possible values for the forced-colors media query. https://drafts.csswg.org/mediaqueries-5/#forced-colors
- Scan 🔒
Traits
- A trait used to query font metrics in clients of Stylo. This is used by Device to query font metrics in a way that is specific to the client using Stylo.
Functions
- https://compat.spec.whatwg.org/#css-media-queries-webkit-device-pixel-ratio
- https://drafts.csswg.org/mediaqueries-4/#resolution
- https://drafts.csswg.org/mediaqueries-4/#scan
- https://drafts.csswg.org/mediaqueries-4/#width