aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2024-03-18 14:52:40 +0100
committerGitHub <noreply@github.com>2024-03-18 13:52:40 +0000
commitc07484fcb605a9ab0a3f9fba4cb4ddd24d89cb87 (patch)
tree3328bfaa0552bee8f6d7833b8e07a06b2b5ebedc /components/script/dom/node.rs
parent94c1f2c99229fde82e09ae5d8e06792ea9d90787 (diff)
downloadservo-c07484fcb605a9ab0a3f9fba4cb4ddd24d89cb87.tar.gz
servo-c07484fcb605a9ab0a3f9fba4cb4ddd24d89cb87.zip
Update Stylo to 2023-09-01 (#31609)
* Update Stylo to 2023-09-01 * Fixup for https://phabricator.services.mozilla.com/D184929 * Fixup for https://phabricator.services.mozilla.com/D184526 * Fixup for https://phabricator.services.mozilla.com/D184525 * Fixup for https://phabricator.services.mozilla.com/D185154 * Fixup for https://phabricator.services.mozilla.com/D184685 * Fixup for https://phabricator.services.mozilla.com/D185916 * Fixup for https://phabricator.services.mozilla.com/D185492 * Fixup for https://phabricator.services.mozilla.com/D186626 * Update test expectations
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 9e6f4feeee9..ee1e563ef1d 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -31,7 +31,7 @@ use script_layout_interface::{
};
use script_traits::{DocumentActivity, UntrustedNodeAddress};
use selectors::matching::{
- matches_selector_list, IgnoreNthChildForInvalidation, MatchingContext, MatchingMode,
+ matches_selector_list, MatchingContext, MatchingForInvalidation, MatchingMode,
NeedsSelectorFlags,
};
use selectors::parser::SelectorList;
@@ -481,7 +481,7 @@ impl<'a> Iterator for QuerySelectorIterator {
&mut nth_index_cache,
node.owner_doc().quirks_mode(),
NeedsSelectorFlags::No,
- IgnoreNthChildForInvalidation::No,
+ MatchingForInvalidation::No,
);
if let Some(element) = DomRoot::downcast(node) {
if matches_selector_list(selectors, &element, &mut ctx) {
@@ -978,7 +978,7 @@ impl Node {
&mut nth_index_cache,
doc.quirks_mode(),
NeedsSelectorFlags::No,
- IgnoreNthChildForInvalidation::No,
+ MatchingForInvalidation::No,
);
Ok(self
.traverse_preorder(ShadowIncluding::No)