mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
e907c7a1da
MozReview-Commit-ID: II6lk6OmSZU --HG-- extra : rebase_source : 44af7047387b26f63b3960d9e1f4996f6677ad18
15 lines
281 B
HTML
15 lines
281 B
HTML
<!doctype html>
|
|
<div id="host"></div>
|
|
<script>
|
|
let root = host.createShadowRoot();
|
|
root.innerHTML = `
|
|
<style>
|
|
#test {
|
|
color: green;
|
|
}
|
|
</style>
|
|
<span id="test">Should be green</span>
|
|
<span id="test2">Should not be green</span>
|
|
`;
|
|
</script>
|