summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-generated-content/shadow-host-pseudo-class.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/css-generated-content/shadow-host-pseudo-class.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/css-generated-content/shadow-host-pseudo-class.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/css-generated-content/shadow-host-pseudo-class.html b/third_party/WebKit/LayoutTests/fast/css-generated-content/shadow-host-pseudo-class.html
new file mode 100644
index 0000000..9a57bb4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css-generated-content/shadow-host-pseudo-class.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<div id="host">HOST</div>
+<script>
+var host = document.getElementById('host');
+var root = host.createShadowRoot();
+root.innerHTML = '\
+<style>\
+ :host::before { content: "before shadow root:"; }\
+ :host::after { content: ":after shadow root"; }\
+</style>\
+<span>SHADOW</span>';
+</script>