mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
auto merge of #4068 : Manishearth/servo/atomify, r=jdm
This commit is contained in:
commit
60dfb65ab2
4 changed files with 6 additions and 8 deletions
|
@ -824,7 +824,7 @@ impl<'a> ElementMethods for JSRef<'a, Element> {
|
|||
|
||||
let name = Atom::from_slice(name.as_slice());
|
||||
let local_name = Atom::from_slice(local_name);
|
||||
let xmlns = Atom::from_slice("xmlns"); // TODO: Make this a static atom type
|
||||
let xmlns = atom!("xmlns");
|
||||
|
||||
// Step 7a.
|
||||
if xmlns == name && namespace != ns!(XMLNS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue