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

Side by Side Diff: LayoutTests/fast/box-sizing/table-no-collapse.html

Issue 888743002: Force unitless data-expected attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Redo percentage-height-when-height-specified-by-top-bottom.html onload change Created 5 years, 10 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 </head> 4 </head>
5 <body> 5 <body>
6 <style> 6 <style>
7 table { 7 table {
8 border: 25px solid green; 8 border: 25px solid green;
9 border-top: 10px solid cyan; 9 border-top: 10px solid cyan;
10 position: absolute; 10 position: absolute;
11 box-sizing: border-box; 11 box-sizing: border-box;
12 outline: 5px solid blue; 12 outline: 5px solid blue;
13 } 13 }
14 div { 14 div {
15 background-color: yellow; 15 background-color: yellow;
16 height: 50px; 16 height: 50px;
17 width: 50px; 17 width: 50px;
18 } 18 }
19 </style> 19 </style>
20 <script src="../../resources/check-layout.js"></script> 20 <script src="../../resources/check-layout.js"></script>
21 <script> 21 <script>
22 window.onload = function () { 22 window.onload = function () {
23 checkLayout(".table"); 23 checkLayout(".table");
24 } 24 }
25 </script> 25 </script>
26 <table class="table" data-expected-height="91px"> 26 <table class="table" data-expected-height="91">
27 <tbody> 27 <tbody>
28 <tr> 28 <tr>
29 <td> 29 <td>
30 <div></div> 30 <div></div>
31 </td> 31 </td>
32 </tr> 32 </tr>
33 </tbody> 33 </tbody>
34 </table> 34 </table>
35 <table style="top: 200px;" class="table" data-expected-height="91px"> 35 <table style="top: 200px;" class="table" data-expected-height="91">
36 <tbody> 36 <tbody>
37 <tr> 37 <tr>
38 <td> 38 <td>
39 <div></div> 39 <div></div>
40 </td> 40 </td>
41 </tr> 41 </tr>
42 </tbody> 42 </tbody>
43 </table> 43 </table>
44 <table style="bottom: 100px;" class="table" data-expected-height="91px"> 44 <table style="bottom: 100px;" class="table" data-expected-height="91">
45 <tbody> 45 <tbody>
46 <tr> 46 <tr>
47 <td> 47 <td>
48 <div></div> 48 <div></div>
49 </td> 49 </td>
50 </tr> 50 </tr>
51 </tbody> 51 </tbody>
52 </table> 52 </table>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698