(n: ShadowRoot)
| 223 | } |
| 224 | |
| 225 | export function host(n: ShadowRoot): Element | null { |
| 226 | if (!n || !('host' in n)) return null; |
| 227 | return getUntaintedAccessor('ShadowRoot', n, 'host'); |
| 228 | } |
| 229 | |
| 230 | export function styleSheets(n: ShadowRoot): StyleSheetList { |
| 231 | return n.styleSheets; |
nothing calls this directly
no test coverage detected