diff --git a/src/platforms/platform.dom.js b/src/platforms/platform.dom.js index 66f95668997..03f8486be43 100644 --- a/src/platforms/platform.dom.js +++ b/src/platforms/platform.dom.js @@ -294,17 +294,22 @@ function removeResizeListener(node) { } } -function injectCSS(platform, css) { +/** + * Injects CSS styles inline if the styles are not already present. + * @param {HTMLDocument|ShadowRoot} rootNode - the node to contain the