mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move selector matching to an external library, for use outside Servo.
This commit is contained in:
parent
2e1adb3fa6
commit
2a50755c8a
26 changed files with 136 additions and 2896 deletions
|
@ -53,9 +53,9 @@ use dom::nodelist::NodeList;
|
|||
use dom::virtualmethods::{VirtualMethods, vtable_for};
|
||||
use devtools_traits::AttrInfo;
|
||||
use style::legacy::{SimpleColorAttribute, UnsignedIntegerAttribute, IntegerAttribute, LengthAttribute};
|
||||
use style::selector_matching::matches;
|
||||
use selectors::matching::matches;
|
||||
use style::properties::{PropertyDeclarationBlock, PropertyDeclaration, parse_style_attribute};
|
||||
use style::selectors::parse_author_origin_selector_list_from_str;
|
||||
use selectors::parser::parse_author_origin_selector_list_from_str;
|
||||
use style;
|
||||
use util::namespace;
|
||||
use util::str::{DOMString, LengthOrPercentageOrAuto};
|
||||
|
|
|
@ -48,9 +48,9 @@ use devtools_traits::NodeInfo;
|
|||
use script_traits::UntrustedNodeAddress;
|
||||
use util::geometry::Au;
|
||||
use util::str::{DOMString, null_str_as_empty};
|
||||
use style::selectors::{Selector, AttrSelector, NamespaceConstraint};
|
||||
use style::selectors::parse_author_origin_selector_list_from_str;
|
||||
use style::selector_matching::matches;
|
||||
use selectors::parser::{Selector, AttrSelector, NamespaceConstraint};
|
||||
use selectors::parser::parse_author_origin_selector_list_from_str;
|
||||
use selectors::matching::matches;
|
||||
use style::properties::ComputedValues;
|
||||
use style;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue