mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
stylo: Create error reporters linked to documents (bug 1352669)
This commit is contained in:
parent
4b91014b14
commit
a08371e8eb
19 changed files with 5536 additions and 4324 deletions
|
@ -523,7 +523,6 @@ impl AnimationValue {
|
|||
/// Construct an AnimationValue from a property declaration
|
||||
pub fn from_declaration(decl: &PropertyDeclaration, context: &mut Context,
|
||||
initial: &ComputedValues) -> Option<Self> {
|
||||
use error_reporting::create_error_reporter;
|
||||
use properties::LonghandId;
|
||||
use properties::DeclaredValue;
|
||||
|
||||
|
@ -587,7 +586,6 @@ impl AnimationValue {
|
|||
},
|
||||
PropertyDeclaration::WithVariables(id, ref variables) => {
|
||||
let custom_props = context.style().custom_properties();
|
||||
let reporter = create_error_reporter();
|
||||
match id {
|
||||
% for prop in data.longhands:
|
||||
% if prop.animatable:
|
||||
|
@ -612,7 +610,6 @@ impl AnimationValue {
|
|||
};
|
||||
result = AnimationValue::from_declaration(&declaration, context, initial);
|
||||
},
|
||||
&reporter,
|
||||
quirks_mode);
|
||||
result
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue