aboutsummaryrefslogtreecommitdiffstats
path: root/components/style_traits/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style_traits/lib.rs')
-rw-r--r--components/style_traits/lib.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs
index 5ceab72427d..921d6158660 100644
--- a/components/style_traits/lib.rs
+++ b/components/style_traits/lib.rs
@@ -107,7 +107,13 @@ pub enum StyleParseError<'i> {
PropertyDeclarationValueNotExhausted,
/// An unexpected dimension token was encountered.
UnexpectedDimension(CowRcStr<'i>),
- /// A media query using a ranged expression with no value was encountered.
+ /// Expected identifier not found.
+ ExpectedIdentifier(Token<'i>),
+ /// Missing or invalid media feature name.
+ MediaQueryExpectedFeatureName(CowRcStr<'i>),
+ /// Missing or invalid media feature value.
+ MediaQueryExpectedFeatureValue,
+ /// min- or max- properties must have a value.
RangedExpressionWithNoValue,
/// A function was encountered that was not expected.
UnexpectedFunction(CowRcStr<'i>),