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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/rendering/non-replaced-elements/tables/table-cell-width.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 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
OLDNEW
1 <link rel="match" href="table-cell-width-ref.html"> 1 <link rel="match" href="table-cell-width-ref.html">
2 <style> 2 <style>
3 body { 3 body {
4 margin: 0; 4 margin: 0;
5 } 5 }
6 6
7 table { 7 table {
8 width: 400px; 8 width: 400px;
9 border-collapse: collapse; 9 border-collapse: collapse;
10 } 10 }
11 11
12 th { 12 th {
13 font-weight: normal; 13 font-weight: normal;
14 text-align: left; 14 text-align: left;
15 } 15 }
16 16
17 td, th { 17 td, th {
18 padding: 0; 18 padding: 0;
19 } 19 }
20 20
21 td:first-child, th:first-child { 21 td:first-child, th:first-child {
22 background-color: red; 22 background-color: red;
23 } 23 }
24 </style> 24 </style>
25 25
26 <!-- width=0 should be treated as 'auto' --> 26 <!-- width=0 should be treated as 'auto' -->
27 <table> 27 <table>
28 <tr> 28 <tr>
29 <th width=0>a</th> 29 <th width=0>a</th>
30 <th>a</th> 30 <th>a</th>
31 </tr> 31 </tr>
32 </table> 32 </table>
33 33
34 <table> 34 <table>
35 <tr> 35 <tr>
36 <td width=0>a</td> 36 <td width=0>a</td>
37 <td>a</td> 37 <td>a</td>
38 </tr> 38 </tr>
39 </table> 39 </table>
40 40
41 <!-- test valid width attribute value --> 41 <!-- test valid width attribute value-->
42 <table> 42 <table>
43 <tr> 43 <tr>
44 <th width=100>a</th> 44 <th width=100>a</th>
45 <th>a</th> 45 <th>a</th>
46 </tr> 46 </tr>
47 </table> 47 </table>
48 48
49 <table> 49 <table>
50 <tr> 50 <tr>
51 <td width=100>a</td> 51 <td width=100>a</td>
52 <td>a</td> 52 <td>a</td>
53 </tr> 53 </tr>
54 </table> 54 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698