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

Side by Side Diff: LayoutTests/fast/box-sizing/table-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-collapse: collapse; 8 border-collapse: collapse;
9 border: 25px solid green; 9 border: 25px solid green;
10 border-top: 10px solid cyan; 10 border-top: 10px solid cyan;
11 position: absolute; 11 position: absolute;
12 box-sizing: border-box; 12 box-sizing: border-box;
13 outline: 5px solid blue; 13 outline: 5px solid blue;
14 } 14 }
15 div { 15 div {
16 background-color: yellow; 16 background-color: yellow;
17 height: 50px; 17 height: 50px;
18 width: 50px; 18 width: 50px;
19 } 19 }
20 </style> 20 </style>
21 <script src="../../resources/check-layout.js"></script> 21 <script src="../../resources/check-layout.js"></script>
22 <script> 22 <script>
23 window.onload = function () { 23 window.onload = function () {
24 checkLayout(".table"); 24 checkLayout(".table");
25 } 25 }
26 </script> 26 </script>
27 <table class="table" data-expected-height="87px"> 27 <table class="table" data-expected-height="87">
28 <tbody> 28 <tbody>
29 <tr> 29 <tr>
30 <td> 30 <td>
31 <div></div> 31 <div></div>
32 </td> 32 </td>
33 </tr> 33 </tr>
34 </tbody> 34 </tbody>
35 </table> 35 </table>
36 <table style="top: 200px;" class="table" data-expected-height="87px"> 36 <table style="top: 200px;" class="table" data-expected-height="87">
37 <tbody> 37 <tbody>
38 <tr> 38 <tr>
39 <td> 39 <td>
40 <div></div> 40 <div></div>
41 </td> 41 </td>
42 </tr> 42 </tr>
43 </tbody> 43 </tbody>
44 </table> 44 </table>
45 <table style="bottom: 100px;" class="table" data-expected-height="87px"> 45 <table style="bottom: 100px;" class="table" data-expected-height="87">
46 <tbody> 46 <tbody>
47 <tr> 47 <tr>
48 <td> 48 <td>
49 <div></div> 49 <div></div>
50 </td> 50 </td>
51 </tr> 51 </tr>
52 </tbody> 52 </tbody>
53 </table> 53 </table>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698