mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Names should now be consistently atoms
This commit is contained in:
parent
43c558fa59
commit
f29e22f131
32 changed files with 270 additions and 652 deletions
|
@ -58,7 +58,7 @@ impl HTMLHeadElement {
|
|||
.traverse_preorder(ShadowIncluding::No)
|
||||
.filter_map(DomRoot::downcast::<Element>)
|
||||
.filter(|elem| elem.is::<HTMLMetaElement>())
|
||||
.filter(|elem| elem.get_string_attribute(&local_name!("name")) == "referrer")
|
||||
.filter(|elem| elem.get_name() == Some(atom!("referrer")))
|
||||
.filter(|elem| {
|
||||
elem.get_attribute(&ns!(), &local_name!("content"))
|
||||
.is_some()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue