mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Further changes required by Servo
This commit is contained in:
parent
e59c71d8ef
commit
8c5a028955
2 changed files with 1 additions and 6 deletions
|
@ -243,11 +243,6 @@ impl<'dom, LayoutDataType: LayoutDataTrait> style::dom::TElement
|
|||
self.element.get_state_for_layout()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn has_attr(&self, namespace: &style::Namespace, attr: &style::LocalName) -> bool {
|
||||
self.get_attr(&**namespace, &**attr).is_some()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn id(&self) -> Option<&Atom> {
|
||||
unsafe { (*self.element.id_attribute()).as_ref() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue