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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/table/incorrect-colgroup-span-values-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script type="text/javascript" charset="utf-8">
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 function test()
10 {
11 description("This test checks that invalid 'span' values are rej ected.");
12
13 // Remove "span" attribute (set it to null).
14 document.getElementById("case1").removeAttribute("span");
15
16 shouldBe("document.getElementById('case1').span", "1");
17 shouldBe("document.getElementById('case2').span", "1");
18 shouldBe("document.getElementById('case3').span", "1");
19 shouldBe("document.getElementById('case4').span", "1");
20 shouldBe("document.getElementById('case5').span", "1");
21 shouldBe("document.getElementById('case6').span", "1");
22 }
23 </script>
24 </head>
25 <body>
26 <table>
27 <colgroup id="case1" span="10000000000">
28 <th></th>
29 </colgroup>
30 </table>
31 <table>
32 <colgroup id="case2" span="0">
33 <th></th>
34 </colgroup>
35 </table>
36 <table>
37 <colgroup id="case3" span="10000000000">
38 <th></th>
39 </colgroup>
40 </table>
41 <table>
42 <colgroup id="case4" span="-10000000000">
43 <th></th>
44 </colgroup>
45 </table>
46 <table>
47 <colgroup id="case5" span="Szeged">
48 <th></th>
49 </colgroup>
50 </table>
51 <table>
52 <colgroup>
53 <col id="case6" span="...">
54 </colgroup>
55 </table>
56 <script>
57 test();
58 </script>
59 </body>
60 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/incorrect-colgroup-span-values-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698