зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
531 B
HTML
17 строки
531 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<script>
|
|
// requires: user_pref("dom.webcomponents.shadowdom.enabled", true);
|
|
addEventListener("DOMContentLoaded", function(){
|
|
let o_0 = document.createElement("span").createShadowRoot();
|
|
let o_1 = document.createElementNS("http://www.mozilla.org/xbl", "binding");
|
|
let o_2 = document.createElementNS("http://www.mozilla.org/xbl", "children");
|
|
let o_3 = document.createTextNode("");
|
|
o_0.appendChild(o_1);
|
|
o_1.appendChild(o_2);
|
|
o_2.appendChild(o_3);
|
|
o_2.removeChild(o_3);
|
|
});
|
|
</script>
|
|
</html>
|