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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-root-attached.html

Issue 15159008: Node::lazyAttach shouldn't lie about being attached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase again Created 7 years, 7 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 | LayoutTests/fast/html/object-image-nested-fallback.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/shadow-root-attached.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-root-attached.html b/LayoutTests/fast/dom/shadow/shadow-root-attached.html
index f5125fbd4085f5b059aadb57f46259eb2c86940c..e3a5a956143d5e64e785dd835e7eb1e44a8dfa46 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-attached.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-attached.html
@@ -21,6 +21,7 @@ var container = document.getElementById("container");
shouldBe('internals.attached(light)', 'false');
document.getElementById('container').appendChild(root);
+ document.body.offsetLeft; // cause a style recalc to trigger attachment.
shouldBe('internals.attached(light)', 'true');
})();
@@ -34,6 +35,7 @@ var container = document.getElementById("container");
shouldBe('internals.attached(light)', 'false');
document.getElementById('container').appendChild(root);
+ document.body.offsetLeft; // cause a style recalc to trigger attachment.
shouldBe('internals.attached(light)', 'true');
})();
« no previous file with comments | « no previous file | LayoutTests/fast/html/object-image-nested-fallback.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698