diff --git a/lib/elements/custom-style.js b/lib/elements/custom-style.js index f675393118..1a43b318e0 100644 --- a/lib/elements/custom-style.js +++ b/lib/elements/custom-style.js @@ -87,6 +87,7 @@ export class CustomStyle extends HTMLElement { const include = style.getAttribute(attr); if (include) { style.removeAttribute(attr); + /** @suppress {deprecated} */ style.textContent = cssFromModules(include) + style.textContent; } /*