mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement concept of shadow including tree order
This commit is contained in:
parent
f6ba165882
commit
2e5c058463
15 changed files with 69 additions and 43 deletions
|
@ -443,7 +443,7 @@ impl Element {
|
|||
})
|
||||
}
|
||||
|
||||
fn is_shadow_host(&self) -> bool {
|
||||
pub fn is_shadow_host(&self) -> bool {
|
||||
self.shadow_root.get().is_some()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue