mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Move get_attr and get_attrs into TElementAttributes.
These methods are only called on LayoutElement.
This commit is contained in:
parent
2ff18b6b95
commit
34e35df986
9 changed files with 36 additions and 45 deletions
|
@ -182,7 +182,7 @@ impl Stylist {
|
|||
applicable_declarations: &mut V)
|
||||
-> bool
|
||||
where N: TNode<'a>,
|
||||
N::Element: TElementAttributes,
|
||||
N::Element: TElementAttributes<'a>,
|
||||
V: VecLike<DeclarationBlock> {
|
||||
assert!(!self.is_dirty);
|
||||
assert!(element.is_element());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue