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> |