mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make the LayoutElement trait implement TElementAttributes.
This commit is contained in:
parent
ea690a2dff
commit
516619b230
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ pub trait LayoutDocument<'ld, Wrappers> : Sized + Copy + Clone
|
|||
fn drain_modified_elements(&self) -> Vec<(Wrappers::Element, ElementSnapshot)>;
|
||||
}
|
||||
|
||||
pub trait LayoutElement<'le, Wrappers> : Sized + Copy + Clone + ::selectors::Element
|
||||
pub trait LayoutElement<'le, Wrappers> : Sized + Copy + Clone + ::selectors::Element + TElementAttributes
|
||||
where Wrappers: WrapperTypes<'le> {
|
||||
fn as_node(&self) -> Wrappers::Node;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue