mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Introduce AttrHelpersForLayout::namespace
This commit is contained in:
parent
47c9f19121
commit
3e875ce3eb
2 changed files with 7 additions and 1 deletions
|
@ -578,7 +578,7 @@ pub unsafe fn get_attr_for_layout<'dom>(
|
|||
.iter()
|
||||
.find(|attr| {
|
||||
let attr = attr.to_layout();
|
||||
name == attr.local_name() && (*attr.unsafe_get()).namespace() == namespace
|
||||
name == attr.local_name() && namespace == attr.namespace()
|
||||
})
|
||||
.map(|attr| attr.to_layout())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue