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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/remove-anonymous-block-crash.html

Issue 2160723006: Ensure invalidation in LayoutBlockChildNode::removeChildNodes() without notifyLayoutObject (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust comment Created 4 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: third_party/WebKit/LayoutTests/paint/invalidation/remove-anonymous-block-crash.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/remove-anonymous-block-crash.html b/third_party/WebKit/LayoutTests/paint/invalidation/remove-anonymous-block-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..39ed91cf967b2f6b43d8b44d3eb2ab35867cf85e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/remove-anonymous-block-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<div style="position: absolute" contenteditable>
+ Text
+ <li id="li">Text</li>
+ <p>
+</div>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+
+window.getSelection().collapse(document.getElementById("li"));
+document.execCommand("InsertUnorderedList");
+
+setTimeout(function() {
+ document.execCommand("JustifyRight");
+ if (window.testRunner)
+ testRunner.notifyDone();
+}, 0);
+</script>

Powered by Google App Engine
This is Rietveld 408576698