Implement concept of shadow including tree order

This commit is contained in:
Fernando Jiménez Moreno 2019-01-30 16:19:40 +01:00
parent f6ba165882
commit 2e5c058463
15 changed files with 69 additions and 43 deletions

View file

@ -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()
}