Index: LayoutTests/fast/dom/shadow/styling-pseudo-attribute.html |
diff --git a/LayoutTests/fast/dom/shadow/styling-pseudo-attribute.html b/LayoutTests/fast/dom/shadow/styling-pseudo-attribute.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f0dc650005a292758a1f2ad2b9ae98ad2289445c |
--- /dev/null |
+++ b/LayoutTests/fast/dom/shadow/styling-pseudo-attribute.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<html> |
+<style> |
+#host1::x-foo { |
+ color: red; |
+} |
+</style> |
+<div id="host1"></div> |
+ |
+<script> |
+var shadowRoot1 = host1.createShadowRoot(); |
+var div = document.createElement('div'); |
+div.setAttribute('pseudo', 'x-foo'); |
+div.appendChild(document.createTextNode('foo bar')); |
+ |
+shadowRoot1.appendChild(div); |
+</script> |
+ |
+ |
+</html> |