Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach.html

Issue 1671873002: Fixed for-loop increments in InsertionPoint::setDistributedNodes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-reattach-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698