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

Side by Side Diff: LayoutTests/fast/table/fixed-widths-exceed-available.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
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 table { border-collapse: collapse; width: 200px;} 3 table { border-collapse: collapse; width: 200px;}
4 #green { background-color: green; padding: 0; width: 250px;} 4 #green { background-color: green; padding: 0; width: 250px;}
5 #blue { background-color: blue; padding: 0; width: 150px;} 5 #blue { background-color: blue; padding: 0; width: 150px;}
6 div { height: 10px; } 6 div { height: 10px; }
7 </style> 7 </style>
8 <script src="../../resources/check-layout.js"></script> 8 <script src="../../resources/check-layout.js"></script>
9 <table> 9 <table>
10 <td id="green" data-expected-width=124><div></div></td> 10 <td id="green" data-expected-width=125><div></div></td>
11 <td id="blue" data-expected-width=76><div></div></td> 11 <td id="blue" data-expected-width=75><div></div></td>
12 </table> 12 </table>
13 <p> crbug.com/476370: Test cells get appropriate width when fixed width cells ov erallocated. </p> 13 <p> crbug.com/476370: Test cells get appropriate width when fixed width cells ov erallocated. </p>
14 <div id="console"></div> 14 <div id="console"></div>
15 <script> 15 <script>
16 checkLayout('td', document.getElementById('console')); 16 checkLayout('td', document.getElementById('console'));
17 </script> 17 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/empty-cells-spread-expected.txt ('k') | LayoutTests/fast/table/large-shrink-wrapped-width.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698