mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Log element during selector matching
MozReview-Commit-ID: D8eFyRCy5BR
This commit is contained in:
parent
eaefcbe551
commit
6b1b8bbee8
8 changed files with 35 additions and 2 deletions
|
@ -8,8 +8,9 @@
|
|||
use attr::{AttrSelectorOperation, NamespaceConstraint};
|
||||
use matching::{ElementSelectorFlags, MatchingContext, RelevantLinkStatus};
|
||||
use parser::SelectorImpl;
|
||||
use std::fmt::Debug;
|
||||
|
||||
pub trait Element: Sized {
|
||||
pub trait Element: Sized + Debug {
|
||||
type Impl: SelectorImpl;
|
||||
|
||||
fn parent_element(&self) -> Option<Self>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue