mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-06-21 14:38:27 +00:00
e31ed5b074
* Implementation for assignedNodes * Include slots in the flat tree * Fix event get-the-parent algorithm for a node * Update and add reftests for Shadow DOM v1 * Update web platform tests expectations Tag #1375
18 lines
425 B
HTML
18 lines
425 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div id="container"><div id="host"></div></div>
|
|
<script>
|
|
var host = document.getElementById("host");
|
|
var root = host.attachShadow({mode: 'open'});
|
|
root.innerHTML = 'inside shadow DOM';
|
|
|
|
var container = document.getElementById("container");
|
|
container.removeChild(host);
|
|
container.appendChild(host);
|
|
</script>
|
|
</body>
|
|
</html>
|