mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -2157,7 +2157,7 @@ impl Document {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn element_attr_will_change(&self, el: &Element) {
|
||||
pub fn element_attr_will_change(&self, el: &Element, _attr: &Attr) {
|
||||
let mut snapshot = self.ensure_snapshot(el);
|
||||
if snapshot.attrs.is_none() {
|
||||
let attrs = el.attrs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue