mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add pipeline information to CSS error reporting.
This commit is contained in:
parent
6032f8225b
commit
fc81276c8e
27 changed files with 103 additions and 29 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
|
||||
use cssparser::{Parser, SourcePosition};
|
||||
use msg::ParseErrorReporter;
|
||||
use selectors::parser::ParserContext as SelectorParserContext;
|
||||
use style_traits::ParseErrorReporter;
|
||||
use stylesheets::Origin;
|
||||
use url::{Url, UrlParser};
|
||||
|
||||
|
@ -13,7 +13,7 @@ pub struct ParserContext<'a> {
|
|||
pub stylesheet_origin: Origin,
|
||||
pub base_url: &'a Url,
|
||||
pub selector_context: SelectorParserContext,
|
||||
pub error_reporter: Box<ParseErrorReporter + Send>
|
||||
pub error_reporter: Box<ParseErrorReporter + Send>,
|
||||
}
|
||||
|
||||
impl<'a> ParserContext<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue