Bug 1946787 - Avoid creating redundant GradientCache::OnMaxEntriesBreached tasks...
[gecko.git] / layout / reftests / webcomponents / update-dist-node-descendants-1.html
blob003c233944e0d64537fb770d604aed648bcb842d
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <head>
4 </head>
5 <body>
6 <div id="outer"><span id="distnode">text</span></div>
7 <script>
9 var shadowRoot = document.getElementById('outer').attachShadow({mode: 'open'});
10 shadowRoot.innerHTML = '<div><slot></slot></div>';
12 function tweak() {
13 var distNode = document.getElementById("distnode");
14 distNode.textContent = "Hello World";
16 document.documentElement.removeAttribute("class");
19 window.addEventListener("MozReftestInvalidate", tweak);
20 </script>
21 </body>
22 </html>