mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
script: Propagate the attribute into the document's element_attr_will_change method.
This commit is contained in:
parent
7a9cdbb857
commit
d37e6f8c66
3 changed files with 7 additions and 7 deletions
|
@ -170,7 +170,7 @@ impl AttrMethods for Attr {
|
|||
impl Attr {
|
||||
pub fn set_value(&self, mut value: AttrValue, owner: &Element) {
|
||||
assert!(Some(owner) == self.owner().r());
|
||||
owner.will_mutate_attr();
|
||||
owner.will_mutate_attr(self);
|
||||
self.swap_value(&mut value);
|
||||
if self.identifier.namespace == ns!() {
|
||||
vtable_for(owner.upcast())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue