Expand description
A query condition:
https://drafts.csswg.org/mediaqueries-4/#typedef-media-condition https://drafts.csswg.org/css-contain-3/#typedef-container-condition
StructsΒ§
- MozPref
Feature - A custom -moz-pref(
, ) query feature. - Style
Feature Plain - A style feature consisting of a custom property name and (optionally) value.
EnumsΒ§
- AllowOr π
- Whether to allow an
orcondition or not during parsing. - Bool
Value - A boolean value for a pref query.
- MozPref
Feature Value - Simple values we support for -moz-pref(). We donβt want to deal with calc() and other shenanigans for now.
- Operator
- A binary
andororoperator. - Query
Condition - Represents a condition.
- Style
Feature - A style query feature: https://drafts.csswg.org/css-conditional-5/#typedef-style-feature
- Style
Feature πValue - Style
Query - https://drafts.csswg.org/css-conditional-5/#typedef-style-query
TraitsΒ§
- Operation
Parser π - Trait for query elements that parse a series of conditions separated by AND or OR operators, or prefixed with NOT.
FunctionsΒ§
Type AliasesΒ§
- Computed
MozPref Feature Value - The computed -moz-pref() value.
- Specified
MozPref πFeature Value