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