mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-27 18:18:46 +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
15 lines
291 B
HTML
15 lines
291 B
HTML
<!doctype html>
|
|
<div id="host"></div>
|
|
<script>
|
|
let root = host.attachShadow({mode: 'open'});
|
|
root.innerHTML = `
|
|
<style>
|
|
#test {
|
|
color: green;
|
|
}
|
|
</style>
|
|
<span id="test">Should be green</span>
|
|
<span id="test2">Should not be green</span>
|
|
`;
|
|
</script>
|