aboutsummaryrefslogtreecommitdiffstats
path: root/ports/geckolib/error_reporter.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-07-14 22:02:34 -0400
committerJosh Matthews <josh@joshmatthews.net>2017-07-17 10:00:31 -0400
commit94d631c1f4272ed2a45d5257cf5c616ec3e8eec5 (patch)
treeab52a601e3a4fdc3f3e2ce4b7217b680d50a6015 /ports/geckolib/error_reporter.rs
parent8e14d936022b863061ffc42cccc86922be03951a (diff)
downloadservo-94d631c1f4272ed2a45d5257cf5c616ec3e8eec5.tar.gz
servo-94d631c1f4272ed2a45d5257cf5c616ec3e8eec5.zip
Suppress CSS parser errors for vendor-prefixed properties.
Diffstat (limited to 'ports/geckolib/error_reporter.rs')
-rw-r--r--ports/geckolib/error_reporter.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/geckolib/error_reporter.rs b/ports/geckolib/error_reporter.rs
index cb7fae7e1a5..320ab45554f 100644
--- a/ports/geckolib/error_reporter.rs
+++ b/ports/geckolib/error_reporter.rs
@@ -233,7 +233,8 @@ impl<'a> ErrorHelpers<'a> for ContextualParseError<'a> {
ErrorString::Ident(namespace),
(_, CssParseError::Custom(SelectorParseError::Custom(
- StyleParseError::UnknownProperty(property)))) =>
+ StyleParseError::PropertyDeclaration(
+ PropertyDeclarationParseError::UnknownProperty(property))))) =>
ErrorString::Ident(property),
(_, CssParseError::Custom(SelectorParseError::Custom(