mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Upgrade rust-selectors.
This commit is contained in:
parent
364c8e2976
commit
1d8d1cb9d9
19 changed files with 280 additions and 174 deletions
|
@ -86,7 +86,7 @@ pub trait LayoutNode: TNode {
|
|||
pub trait ThreadSafeLayoutNode: Clone + Copy + Sized + PartialEq {
|
||||
type ConcreteThreadSafeLayoutElement:
|
||||
ThreadSafeLayoutElement<ConcreteThreadSafeLayoutNode = Self>
|
||||
+ ::selectors::Element<Impl=ServoSelectorImpl>;
|
||||
+ ::selectors::Element<Impl=ServoSelectorImpl, AttrString=String>;
|
||||
type ChildrenIterator: Iterator<Item = Self> + Sized;
|
||||
|
||||
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
||||
|
@ -351,7 +351,7 @@ pub trait DangerousThreadSafeLayoutNode: ThreadSafeLayoutNode {
|
|||
}
|
||||
|
||||
pub trait ThreadSafeLayoutElement: Clone + Copy + Sized +
|
||||
::selectors::Element<Impl=ServoSelectorImpl> +
|
||||
::selectors::Element<Impl=ServoSelectorImpl, AttrString=String> +
|
||||
PresentationalHintsSynthetizer {
|
||||
type ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode<ConcreteThreadSafeLayoutElement = Self>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue