diff options
Diffstat (limited to 'components/style_traits/lib.rs')
-rw-r--r-- | components/style_traits/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs index 2589bb961d6..6d088cc7e0d 100644 --- a/components/style_traits/lib.rs +++ b/components/style_traits/lib.rs @@ -24,3 +24,9 @@ extern crate util; #[macro_use] pub mod values; pub mod viewport; + +use cssparser::{Parser, SourcePosition}; +pub trait ParseErrorReporter { + fn report_error(&self, input: &mut Parser, position: SourcePosition, message: &str); + fn clone(&self) -> Box<ParseErrorReporter + Send + Sync>; +} |