selectors: Allow defining an implementation-dependent field in the matching context.

This commit is contained in:
Emilio Cobos Álvarez 2018-01-11 12:07:24 +01:00
parent 9b3fc43f5a
commit 1e27f2883b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
6 changed files with 11 additions and 0 deletions

View file

@ -278,6 +278,7 @@ impl NonTSPseudoClass {
pub struct SelectorImpl;
impl ::selectors::SelectorImpl for SelectorImpl {
type ExtraMatchingData = ();
type AttrValue = Atom;
type Identifier = Atom;
type ClassName = Atom;