repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
css-generated-content
/
shadow-host-pseudo-class.html
blob
9a57bb424849f5c23ebc35f5428ee95c797a4046
1
<!DOCTYPE
html
>
2
<div
id
=
"host"
>
HOST
</div>
3
<script>
4
var
host
=
document
.
getElementById
(
'host'
);
5
var
root
=
host
.
createShadowRoot
();
6
root
.
innerHTML
=
'\
7
<style>\
8
:host::before { content: "before shadow root:"; }\
9
:host::after { content: ":after shadow root"; }\
10
</style>\
11
<span>SHADOW</span>'
;
12
</script>