Files
Matt A. Tobin e31ed5b074 Bug 1409975 - Implement node distribution for shadow tree slots
* 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
2020-04-17 07:10:54 -04:00

19 lines
392 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<script>
function tweak() {
var slot = document.createElement("slot");
slot.style.color = "green";
var shadowRoot =
document.getElementById('outer').attachShadow({mode: 'open'});
shadowRoot.appendChild(slot);
}
</script>
</head>
<body onload="tweak()">
<div id="outer">This text should be green</div>
</body>
</html>