MCPcopy
hub / github.com/ampproject/amphtml / transformShadowCss

Function transformShadowCss

src/shadow-embed.js:200–202  ·  view source on GitHub ↗
(shadowRoot, css)

Source from the content-addressed store, hash-verified

198 * @return {string}
199 */
200export function transformShadowCss(shadowRoot, css) {
201 return scopeShadowCss(shadowRoot, css);
202}
203
204/**
205 * Transforms CSS to isolate AMP CSS within the shadow root and reduce the

Callers 1

createShadowRootFunction · 0.85

Calls 1

scopeShadowCssFunction · 0.85

Tested by

no test coverage detected