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

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: with layout test Created 4 years, 1 month 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..f7abfe1a40eb94d31422d2546ad1933240302aff
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/large-col-span-crash.html
@@ -0,0 +1,19 @@
+<!doctype html>
mstensho (USE GERRIT) 2016/11/22 07:04:29 Could turn this into a testharness test, to get ri
dgrogan 2016/12/01 21:51:44 Done.
+<style>
+table {
+ width: 100px;
+ table-layout: fixed;
+ /* vv just to get a green square vv */
mstensho (USE GERRIT) 2016/11/22 07:04:29 Not so interesting, since this isn't a visual test
dgrogan 2016/12/01 21:51:44 Done.
+ height: 100px;
+ background: lime;
+}
+</style>
+<table>
+<col span="4294967295">
+<col>
+</table>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+Pass if no crash

Powered by Google App Engine
This is Rietveld 408576698