mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #2135 - Bug 1453789: Remove Element.createShadowRoot
This commit is contained in:
parent
010db07bf3
commit
45c179d01b
19 changed files with 25 additions and 521 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<script>
|
||||
window.onload = function() {
|
||||
var div = document.querySelector("div");
|
||||
var shadow = div.createShadowRoot();
|
||||
var shadow = div.attachShadow({ mode: "open" });
|
||||
shadow.innerHTML = "<p style='display: none'><span><i>x</i></span></p>";
|
||||
var p = shadow.lastChild;
|
||||
var span = p.firstChild;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue