mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Allow to share style across elements with similar XBL bindings.
This commit is contained in:
parent
af12284b6a
commit
c338745b17
4 changed files with 21 additions and 42 deletions
|
@ -151,10 +151,10 @@ impl<'ln> NodeInfo for ServoLayoutNode<'ln> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
enum Impossible { }
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
pub struct ShadowRoot<'lr>(Impossible, PhantomData<&'lr ()>);
|
||||
|
||||
impl<'lr> TShadowRoot for ShadowRoot<'lr> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue