We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8e361 commit 6316198Copy full SHA for 6316198
src/index.css
@@ -39,9 +39,9 @@ body {
39
}
40
41
42
-/* TODO: Generate this for elements to hide Light DOM children in browsers
43
- that don't support Declarative Shadow DOM to avoid FOUC. */
44
-my-element:not(:defined) > template[shadowroot] ~ *,
45
-my-child:not(:defined) > template[shadowroot] ~ * {
+/* Make all template shadowroot invisible till polyfill converts it to
+ * actual shadowroot. This is only for browsers that don't support
+ * Declarative Shadow DOM */
+* > template[shadowroot] ~ * {
46
display: none;
47
0 commit comments