implement Document#createAttribute

This commit is contained in:
Rohan Prinja 2014-11-22 14:41:47 +05:30
parent b4c3aec383
commit 4b754bd457
8 changed files with 43 additions and 66 deletions

View file

@ -1558,7 +1558,7 @@ impl Node {
&Attr::new(*window,
attr.local_name().clone(), attr.value().clone(),
attr.name().clone(), attr.namespace().clone(),
attr.prefix().clone(), copy_elem));
attr.prefix().clone(), Some(copy_elem)));
}
},
_ => ()