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

Side by Side Diff: LayoutTests/fast/table/empty-cells-spread.html

Issue 988443003: Don't add artifical 1 pixel width to empty tables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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 table { border-collapse: collapse; width: 100%; }
4 #green { background-color: green; padding: 0;}
5 #blue { background-color: blue; padding: 0;}
6 div { height: 10px; }
7 </style>
8 <script src="../../resources/check-layout.js"></script>
9 <div style="width: 500px">
10 <table>
11 <td id="green" data-expected-width=250></td>
12 <td id="blue" data-expected-width=250><div></div></td>
13 </table>
14 </div>
15 <p> crbug.com/476370: Test empty cells get appropriate width when spread across a percent width table. </p>
16 <div id="console"></div>
17 <script>
18 checkLayout('td', document.getElementById('console'));
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698