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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/colspan-empty-cells-4.html

Issue 1361693002: Fix behaviour of empty cells in tables with colspans (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 td { padding: 0px; }
4 </style>
5 <table style="border-spacing: 0px;">
6 <tr>
7 <td bgcolor="red"></td>
8 <td bgcolor="white" style="width:100px;"></td>
9 <td bgcolor="green"></td>
10 <td bgcolor="green"></td>
11 </tr>
12 <tr>
13 <td bgcolor="red" colspan="3" style="width: 300px;"></td>
14 <td bgcolor="green"></td>
15 </tr>
16 <tr>
17 <td bgcolor="red" id="red" data-expected-width=100></td>
18 <td bgcolor="white">TEST</td>
19 <td bgcolor="green" id="green" data-expected-width=100></td>
20 <td bgcolor="green"></td>
21 </tr>
22 </table>
23 <div id="test-output"></div>
24 <p>crbug.com/529413: Available space from a colspan should get evenly distribute d between cols with nothing but empty cells, until it runs out. The red and gree n bars should be the same width.</p>
25 <script src="../../resources/check-layout.js"></script>
26 <script>
27 window.checkLayout("#red", document.getElementById("test-output"));
28 window.checkLayout("#green", document.getElementById("test-output"));
29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698