Index: third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash.html b/third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f2f677e6d8381e590aa653488d1290636905970e |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash.html |
@@ -0,0 +1,19 @@ |
+<!doctype html> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ runAfterLayoutAndPaint( |
+ function () { |
+ theTbody.removeChild(row1); |
+ theTbody.style.border = "solid 10px blue"; |
+ }, true /* autoNotifyDone */); |
+</script> |
+<table style="border-collapse: collapse"> |
+ <tbody id=theTbody> |
+ <tr id=row1><td>Some text</td></tr> |
+ </tbody> |
+</table> |
+<p>There was a crash when a row was removed and the border of a section was changed without an intervening CellRecalc.</p> |
+<p>No crash == pass</p> |