mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Add also a containing_shadow API.
This commit is contained in:
parent
2f0df1b421
commit
a19219ec79
3 changed files with 13 additions and 0 deletions
|
@ -562,6 +562,10 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
fn shadow_root(&self) -> Option<ShadowRoot<'le>> {
|
||||
None
|
||||
}
|
||||
|
||||
fn containing_shadow(&self) -> Option<ShadowRoot<'le>> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
impl<'le> PartialEq for ServoLayoutElement<'le> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue