(styles: string[], selector: string, hostSelector: string)
| 626 | } |
| 627 | |
| 628 | function compileStyles(styles: string[], selector: string, hostSelector: string): string[] { |
| 629 | const shadowCss = new ShadowCss(); |
| 630 | return styles.map((style) => { |
| 631 | return shadowCss!.shimCssText(style, selector, hostSelector); |
| 632 | }); |
| 633 | } |
| 634 | |
| 635 | /** |
| 636 | * Encapsulates a CSS stylesheet with emulated view encapsulation. |
no test coverage detected