Skip to content

Commit 3e9cbf6

Browse files
Merge pull request #5812 from aogzpa:main
PiperOrigin-RevId: 766255083
2 parents c53bc86 + bf89645 commit 3e9cbf6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

catalog/site/_includes/default.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
rel="stylesheet"
3434
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined&display=swap"
3535
/>
36+
<!-- dsd-pending hides body until the polyfill has run on browsers that do not support DSD -->
37+
<style>
38+
body[dsd-pending] {
39+
display: none;
40+
}
41+
</style>
3642
<!-- If JS is disabled just show the contents without the polyfill -->
3743
<noscript
3844
><style>
@@ -44,7 +50,6 @@
4450
<!-- Allows sub-templates to insert into the head -->
4551
{% block head %}{% endblock %}
4652
</head>
47-
<!-- dsd-pending hides body until the polyfill has run on browsers that do not support DSD -->
4853
<body dsd-pending>
4954
<!-- Inlines the declarative shadow dom polyfill for FF since it's performance sensitive -->
5055
{% inlinejs "ssr-utils/dsd-polyfill.js" %}

0 commit comments

Comments
 (0)