mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
509 B
HTML
22 lines
509 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div id="outer"><span id="distnode">text</span></div>
|
|
<script>
|
|
var shadowRoot = document.getElementById('outer').createShadowRoot();
|
|
shadowRoot.innerHTML = '<div><content></content></div>';
|
|
|
|
function tweak() {
|
|
var distNode = document.getElementById("distnode");
|
|
distNode.textContent = "Hello World";
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
window.addEventListener("MozReftestInvalidate", tweak);
|
|
</script>
|
|
</body>
|
|
</html>
|