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

Unified Diff: LayoutTests/fast/css/invalidation/style-update-with-added-stylesheet.html

Issue 375293002: Node.insertBefore and Node.appendChild do not use custom binding anymore (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace assert with condition Created 6 years, 5 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
Index: LayoutTests/fast/css/invalidation/style-update-with-added-stylesheet.html
diff --git a/LayoutTests/fast/css/invalidation/style-update-with-added-stylesheet.html b/LayoutTests/fast/css/invalidation/style-update-with-added-stylesheet.html
index 0f31de4e43f47962935f7dff3b6a2fb769fff905..84eb99cb7c3aa30d41e4fee4222141da566cf58f 100644
--- a/LayoutTests/fast/css/invalidation/style-update-with-added-stylesheet.html
+++ b/LayoutTests/fast/css/invalidation/style-update-with-added-stylesheet.html
@@ -26,7 +26,7 @@ target.className = 'class';
var styleElement = document.createElement("style");
styleElement.textContent = '#useless {width: 300px}';
// Insert before style sheet s2 in order to trigger style resolver reconstruction.
-document.getElementById('s2').insertBefore(styleElement);
+document.getElementById('s2').insertBefore(styleElement, null);
shouldBe("getComputedStyle(target).width", '"200px"');
« no previous file with comments | « LayoutTests/fast/block/basic/empty-anonymous-block-remove-crash.html ('k') | LayoutTests/fast/dom/Node/fragment-mutation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698