Sha256: d201711e46bf066fb5e35f47717faea770b7b2387d1a475c3ae5e57ebf0b7b55
Contents?: true
Size: 1023 Bytes
Versions: 4
Compression:
Stored size: 1023 Bytes
Contents
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Shadow DOM</title> </head> <body> <div id="non_host"></div> <div id="shadow_host"></div> <a href="scroll.html">scroll.html</a> <script> let shadowRoot = document.getElementById('shadow_host').attachShadow({mode: 'open'}); shadowRoot.innerHTML = ` <span class="wrapper" id="shadow_content"><span class="info">some text</span></span> <div id="nested_shadow_host"></div> <div id="chrome_workaround"><a href="scroll.html">scroll.html</a></div> <input type="text" /> <input type="checkbox" /> <input type="file" /> `; let nestedShadowRoot = shadowRoot.getElementById('nested_shadow_host').attachShadow({mode: 'open'}); nestedShadowRoot.innerHTML = ` <div id="nested_shadow_content"><div>nested text</div></div> `; </script> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems