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

Side by Side Diff: LayoutTests/fast/table/percent-widths-float.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>
2 <style>
3 table { border-collapse: collapse; width: 1000px;}
4 #green { background-color: green; padding: 0; width: 1.5%;}
5 #blue { background-color: blue; padding: 0; width: 0.5%;}
6 #orange { background-color: orange; padding: 0; width: 10%; }
7 div { height: 10px; }
8 </style>
9 <script src="../../resources/check-layout.js"></script>
10 <table>
11 <td id="green" data-expected-width=125><div></div></td>
12 <td id="blue" data-expected-width=41><div></div></td>
13 <td id="orange" data-expected-width=834><div></div></td>
14 </table>
15 <p> crbug.com/476370: Test cells get appropriate width when we use fractional pe rcentage values. </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