style: Fix build and unit tests.

This commit is contained in:
Emilio Cobos Álvarez 2018-07-16 19:34:22 +02:00
parent 96e812e732
commit fde93a60fe
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 4 additions and 264 deletions

View file

@ -17,7 +17,7 @@ use dom_struct::dom_struct;
use servo_arc::Arc;
use servo_url::ServoUrl;
use style::attr::AttrValue;
use style::properties::{DeclarationSource, Importance, PropertyDeclarationBlock, PropertyId, LonghandId, ShorthandId};
use style::properties::{DeclarationPushMode, Importance, PropertyDeclarationBlock, PropertyId, LonghandId, ShorthandId};
use style::properties::{parse_one_declaration_into, parse_style_attribute, SourcePropertyDeclaration};
use style::selector_parser::PseudoElement;
use style::shared_lock::Locked;
@ -302,7 +302,7 @@ impl CSSStyleDeclaration {
*changed = pdb.extend(
declarations.drain(),
importance,
DeclarationSource::CssOm,
DeclarationPushMode::Update,
);
Ok(())