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

Side by Side Diff: LayoutTests/fast/table/percent-widths-total-less-than-zero.html

Issue 1111443003: Refactor the code distributing width to columns in auto layout tables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 7 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>
mstensho (USE GERRIT) 2015/05/04 20:42:48 File name is "...-less-than-zero.html". Should be
2 <style>
3 table { border-collapse: collapse; width: 1000px;}
4 #green { background-color: green; padding: 0; width: 0.1%;}
5 #blue { background-color: blue; padding: 0; width: 0.2%;}
6 div { height: 10px; }
7 </style>
8 <script src="../../resources/check-layout.js"></script>
9 <table>
10 <td id="green" data-expected-width=334><div></div></td>
11 <td id="blue" data-expected-width=666><div></div></td>
12 </table>
13 <p> crbug.com/476370: Test cells get appropriate width when total width of cells is less than 1%. </p>
14 <div id="console"></div>
15 <script>
16 checkLayout('td', document.getElementById('console'));
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698