mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Don’t report CSS parsing errors from user-agent stylesheets.
This used to make `RUST_LOG=style` basically useless.
This commit is contained in:
parent
7fe57ecaea
commit
512944c32c
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ use style::context::{QuirksMode, ReflowGoal, SharedStyleContext};
|
|||
use style::context::{StyleSystemOptions, ThreadLocalStyleContextCreationInfo};
|
||||
use style::data::StoredRestyleHint;
|
||||
use style::dom::{ShowSubtree, ShowSubtreeDataAndPrimaryValues, TElement, TNode};
|
||||
use style::error_reporting::RustLogReporter;
|
||||
use style::error_reporting::{NullReporter, RustLogReporter};
|
||||
use style::logical_geometry::LogicalPoint;
|
||||
use style::media_queries::{Device, MediaList, MediaType};
|
||||
use style::servo::restyle_damage::{REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, REPOSITION, STORE_OVERFLOW};
|
||||
|
@ -1587,7 +1587,7 @@ fn get_ua_stylesheets() -> Result<UserAgentStylesheets, &'static str> {
|
|||
MediaList::empty(),
|
||||
shared_lock.clone(),
|
||||
None,
|
||||
&RustLogReporter))
|
||||
&NullReporter))
|
||||
}
|
||||
|
||||
let shared_lock = SharedRwLock::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue