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

Side by Side Diff: LayoutTests/fast/table/empty-cells-and-percentage-width-content.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 .container{width:170px;height:19px}
4 .input{border:none; padding: 0; width: 100%; margin: 0; background-color: blue;}
5 .count{padding:0 8px 0 4px;}
6 </style>
7 <script src="../../resources/check-layout.js"></script>
8 <div class="container">
9 <table cellpadding="0">
10 <tr>
11 <td>
12 <input type="text" class="input">
13 </td>
14 <td class="count" data-expected-width=12></td>
15 </tr>
16 </table>
17 </div>
18 <p> crbug.com/497759: Cells with replaced content should get the right width. </ p>
19 <div id="console"></div>
20 <script>
21 checkLayout('.count', document.getElementById('console'));
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698