Index: third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15fb8cb2bbc35b686051974cd9118e26cf6c1505 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<p>You should see the word PASS below</p> |
+<div id="host"> |
+ <span class="before"></span> |
+ <span class="before"></span> |
+ <span class="after">PASS</span> |
+</div> |
+<script> |
+ var root = host.createShadowRoot(); |
+ root.innerHTML = '<content select=".before"></content>'; |
+ host.offsetTop; |
+ root.querySelector("content").setAttribute("select", ".after"); |
+</script> |