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

Unified Diff: LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash.html

Issue 1143323011: Notify the counter code about layout object removals BEFORE removing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/css/counters/remove-anonymous-block-wrapper-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash.html
diff --git a/LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash.html b/LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..a5e3b02c2163f48f15ee37cbe645c4c5e58d2de1
--- /dev/null
+++ b/LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+ #e0::after {
+ position: absolute;
+ content: counter(c);
+ }
+</style>
+<p>Remove a block child, so that its parent block no longer needs to wrap inline children inside an anonymous block.</p>
+<p>PASS if no crash or assertion failure.</p>
+<div>
+ <div id="e0" style="display:inline-block;">
+ <div></div>
+ </div>
+ <div id="e1"></div>
+</div>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ document.body.offsetTop;
+ e1.style.display = "none";
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698