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

Side by Side Diff: LayoutTests/fast/table/update-col-width-and-remove-table-cell-crash.html

Issue 208263013: Col width is not honored when dynamically updated and it would not make table narrower (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merged https://codereview.chromium.org/208263012/ to this patch. 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 function runTest() {
9 document.getElementById("column1").width = "90";
10 var firstRow = document.getElementById("firstRow");
11 firstRow.removeChild(firstRow.firstElementChild);
12 document.getElementById("row").offsetWidth;
13 }
14 </script>
15 <style>
16 .column2 {
17 width: 10px;
18 }
19 </style>
20 </head>
21 <body onload="runTest()">
22 <table>
23 <colgroup>
24 <col id="column1" class="column1">
25 <col class="column2">
26 </colgroup>
27 <tbody>
28 <tr id="firstRow">
29 <td colspan="4"></td>
30 </tr>
31 <tr id="row">
32 <td colspan="4"></td>
33 </tr>
34 </tbody>
35 </table>
36 <p>This test PASSED if it doesn't cause a crash, especially when run wit h Guard Malloc or MallocScribble enabled.</p>
37 </body>
38 </html>
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698