mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
script: Fix the logic for mutation observer attributes.
This commit is contained in:
parent
073629076f
commit
39e647de06
2 changed files with 2 additions and 13 deletions
|
@ -132,8 +132,8 @@ impl MutationObserver {
|
||||||
if *namespace != ns!() {
|
if *namespace != ns!() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if registered.options.attribute_filter.iter()
|
if !registered.options.attribute_filter.iter()
|
||||||
.find(|s| &**s == &**name).is_some() {
|
.any(|s| &**s == &**name) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
[MutationObserver-attributes.html]
|
|
||||||
type: testharness
|
|
||||||
[attributes/attributeFilter Element.id/Element.className: update mutation]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[attributes/attributeFilter Element.id/Element.className: multiple filter update mutation]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[attributeFilter alone Element.id/Element.className: multiple filter update mutation]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue