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

Unified Diff: LayoutTests/fast/table/incorrect-colgroup-span-values.html

Issue 194593005: ASSERTION FAILED: span >= 1 in WebCore::RenderTable::slowColElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
Index: LayoutTests/fast/table/incorrect-colgroup-span-values.html
diff --git a/LayoutTests/fast/table/incorrect-colgroup-span-values.html b/LayoutTests/fast/table/incorrect-colgroup-span-values.html
new file mode 100644
index 0000000000000000000000000000000000000000..49e1c60394916b9a2e5484ec75a57a62a0f6fc38
--- /dev/null
+++ b/LayoutTests/fast/table/incorrect-colgroup-span-values.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function removeSpan() {
+ document.getElementById("colGroup").removeAttribute("span");
+ }
+ </script>
+ </head>
+ <body onload="removeSpan()">
+ <p>This test passes if it does not crash.</p>
Julien - ping for review 2014/03/13 18:29:24 Let's add a description to this test: <p>This tes
+ <table>
+ <colgroup id="colGroup" span="10000000000">
+ <th></th>
+ </colgroup>
+ </table>
+ <table>
+ <colgroup span="0">
+ <th></th>
+ </colgroup>
+ </table>
+ <table>
+ <colgroup span="10000000000">
+ <th></th>
+ </colgroup>
+ </table>
+ <table>
+ <colgroup span="-10000000000">
+ <th></th>
+ </colgroup>
+ </table>
Julien - ping for review 2014/03/13 18:29:24 Missing from the testing: - colgroup span="cheese
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698