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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash.html

Issue 2146163005: [css-tables] Don't use internal layout structure when iterating all rows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/change-tbody-border-width-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698