mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Support matching :-moz-browser-frame and :-moz-table-border-nonzero against snapshots.
This commit is contained in:
parent
90b3691f82
commit
17e5c19d70
4 changed files with 42 additions and 2 deletions
|
@ -268,6 +268,12 @@ impl NonTSPseudoClass {
|
|||
pub fn needs_cache_revalidation(&self) -> bool {
|
||||
self.state_flag().is_empty()
|
||||
}
|
||||
|
||||
/// Returns true if the evaluation of the pseudo-class depends on the
|
||||
/// element's attributes.
|
||||
pub fn is_attr_based(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
/// The abstract struct we implement the selector parser implementation on top
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue