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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/colspan-empty-cells-2.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 </tr>
11 <tr>
12 <td bgcolor="red" colspan="4" style="width: 300px;"></td>
13 </tr>
14 <tr>
15 <td bgcolor="red" id="red" data-expected-width=100></td>
16 <td bgcolor="white">TEST</td>
17 <td bgcolor="green" id="green" data-expected-width=100></td>
18 </tr>
19 </table>
20 <div id="test-output"></div>
21 <p>crbug.com/529413: Available space from a colspan should get evenly distribute d between cols with nothing but empty cells, even when the colspan spans non-exi stent cells. The red and green bars should be the same width.</p>
22 <script src="../../resources/check-layout.js"></script>
23 <script>
24 window.checkLayout("#red", document.getElementById("test-output"));
25 window.checkLayout("#green", document.getElementById("test-output"));
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698