mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Further changes required by Servo
This commit is contained in:
parent
a62f6c78b2
commit
d21aa99252
1 changed files with 9 additions and 1 deletions
|
@ -406,11 +406,19 @@ impl NonTSPseudoClass {
|
||||||
#[cfg_attr(feature = "servo", derive(MallocSizeOf))]
|
#[cfg_attr(feature = "servo", derive(MallocSizeOf))]
|
||||||
pub struct SelectorImpl;
|
pub struct SelectorImpl;
|
||||||
|
|
||||||
|
/// A set of extra data to carry along with the matching context, either for
|
||||||
|
/// selector-matching or invalidation.
|
||||||
|
#[derive(Debug, Default)]
|
||||||
|
pub struct ExtraMatchingData {
|
||||||
|
/// The invalidation data to invalidate doc-state pseudo-classes correctly.
|
||||||
|
pub invalidation_data: InvalidationMatchingData,
|
||||||
|
}
|
||||||
|
|
||||||
impl ::selectors::SelectorImpl for SelectorImpl {
|
impl ::selectors::SelectorImpl for SelectorImpl {
|
||||||
type PseudoElement = PseudoElement;
|
type PseudoElement = PseudoElement;
|
||||||
type NonTSPseudoClass = NonTSPseudoClass;
|
type NonTSPseudoClass = NonTSPseudoClass;
|
||||||
|
|
||||||
type ExtraMatchingData = InvalidationMatchingData;
|
type ExtraMatchingData = ExtraMatchingData;
|
||||||
type AttrValue = AtomString;
|
type AttrValue = AtomString;
|
||||||
type Identifier = AtomIdent;
|
type Identifier = AtomIdent;
|
||||||
type LocalName = LocalName;
|
type LocalName = LocalName;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue