mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove outdated comment about cloning elements
This commit is contained in:
parent
a0cf597946
commit
3801cfdd35
1 changed files with 2 additions and 3 deletions
|
@ -1858,10 +1858,9 @@ impl Node {
|
|||
copy_doc.set_quirks_mode(node_doc.quirks_mode());
|
||||
},
|
||||
NodeTypeId::Element(..) => {
|
||||
let node_elem: &Element = ElementCast::to_ref(node).unwrap();
|
||||
let copy_elem: &Element = ElementCast::to_ref(copy.r()).unwrap();
|
||||
let node_elem = ElementCast::to_ref(node).unwrap();
|
||||
let copy_elem = ElementCast::to_ref(copy.r()).unwrap();
|
||||
|
||||
// FIXME: https://github.com/mozilla/servo/issues/1737
|
||||
let window = document.r().window();
|
||||
for ref attr in node_elem.attrs().iter() {
|
||||
let attr = attr.root();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue