mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Remove get_attrs from TElement.
This should just be a helper.
This commit is contained in:
parent
a0c425fbef
commit
7947afc699
3 changed files with 7 additions and 15 deletions
|
@ -208,7 +208,6 @@ pub trait TElement : Sized + Copy + Clone + ElementExt + PresentationalHintsSynt
|
|||
fn get_state(&self) -> ElementState;
|
||||
|
||||
fn get_attr<'a>(&'a self, namespace: &Namespace, attr: &Atom) -> Option<&'a str>;
|
||||
fn get_attrs<'a>(&'a self, attr: &Atom) -> Vec<&'a str>;
|
||||
|
||||
/// Properly marks nodes as dirty in response to restyle hints.
|
||||
fn note_restyle_hint(&self, mut hint: RestyleHint) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue