mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Names should now be consistently atoms
This commit is contained in:
parent
9c135f0e95
commit
4b750ca0d0
2 changed files with 0 additions and 2 deletions
|
@ -1426,7 +1426,6 @@ impl Element {
|
||||||
.iter()
|
.iter()
|
||||||
.find(|a| a.name() == name)
|
.find(|a| a.name() == name)
|
||||||
.map(|js| DomRoot::from_ref(&**js));
|
.map(|js| DomRoot::from_ref(&**js));
|
||||||
|
|
||||||
fn id_and_name_must_be_atoms(name: &LocalName, maybe_attr: &Option<DomRoot<Attr>>) -> bool {
|
fn id_and_name_must_be_atoms(name: &LocalName, maybe_attr: &Option<DomRoot<Attr>>) -> bool {
|
||||||
if *name == local_name!("id") || *name == local_name!("name") {
|
if *name == local_name!("id") || *name == local_name!("name") {
|
||||||
match maybe_attr {
|
match maybe_attr {
|
||||||
|
|
|
@ -8,4 +8,3 @@
|
||||||
|
|
||||||
[Trying to set an expando that would shadow an already-existing named property]
|
[Trying to set an expando that would shadow an already-existing named property]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue