mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement TShadowRoot::style_data
This commit is contained in:
parent
23b92d54d4
commit
e9f0e76d3c
3 changed files with 32 additions and 3 deletions
|
@ -200,7 +200,12 @@ impl<'sr> TShadowRoot for ServoShadowRoot<'sr> {
|
|||
where
|
||||
Self: 'a,
|
||||
{
|
||||
None
|
||||
Some(unsafe {
|
||||
&self
|
||||
.shadow_root
|
||||
.get_style_data_for_layout::<ServoLayoutElement>()
|
||||
.data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue