Index: third_party/WebKit/LayoutTests/fast/lists/list-marker-set-overflow-line-box-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/lists/list-marker-set-overflow-line-box-crash.html b/third_party/WebKit/LayoutTests/fast/lists/list-marker-set-overflow-line-box-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e410438b1b715569828625cb937c7f840542eb2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/lists/list-marker-set-overflow-line-box-crash.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE HTML> |
+<style> |
+.container { |
+ display: inline-block; |
+ width: 1280px; |
+ position: relative |
+} |
+.outerspan { |
+ position: absolute; |
+ left: 0; |
+ right: 0; |
+} |
+</style> |
+<div class="container"> |
+ <span class="outerspan"> |
+ <span>This test checks that list item don't make non-overflowable box overflowing</span> |
+ </span> |
+</div> |
+This test has passed if it doesn't crash. |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ document.designMode = 'on'; |
+ document.execCommand('SelectAll'); |
+ document.execCommand('Strikethrough'); |
+ document.execCommand('InsertOrderedList'); |
+</script> |