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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/large-col-span-crash.html

Issue 2518163002: [css-tables] Fix divide-by-zero resulting from 32-bit overflow (Closed)
Patch Set: update wpt -expected.txt and span-attribute.html but not -expected.txt Created 4 years 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
Index: third_party/WebKit/LayoutTests/fast/table/large-col-span-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/large-col-span-crash.html b/third_party/WebKit/LayoutTests/fast/table/large-col-span-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..b44047032a141b3e90dcf29b4e2152d5cdd6120e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/large-col-span-crash.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<style>
+table {
+ width: 100px;
+ table-layout: fixed;
+ height: 100px;
+ background: lime;
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<table data-expected-width=100 data-expected-height=100>
+ <col span="4294967295">
+ <col>
+</table>
+<script>checkLayout("table");</script>
+Pass if no crash, ensured by the checkLayout.

Powered by Google App Engine
This is Rietveld 408576698