Index: pkg/shadow_dom/tool/build/if-poly.js |
diff --git a/pkg/shadow_dom/tool/build/if-poly.js b/pkg/shadow_dom/tool/build/if-poly.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7503d653851789e15f451468779b6077619bb610 |
--- /dev/null |
+++ b/pkg/shadow_dom/tool/build/if-poly.js |
@@ -0,0 +1,3 @@ |
+if ((!HTMLElement.prototype.createShadowRoot && |
+ !HTMLElement.prototype.webkitCreateShadowRoot) || |
+ window.__forceShadowDomPolyfill) { |