OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <p>The form controls of the same type below should be the same width.</p> | 2 <p>The form controls of the same type below should be the same width.</p> |
3 | 3 |
4 <div style="width: 100px; background: pink"> | 4 <div style="width: 100px; background: pink"> |
5 <table><tbody><tr><td> | 5 <table><tbody><tr><td> |
6 <input id="text-a" style="height: 100%"> | 6 <input id="text-a" style="height: 100%"> |
7 </td></tr></tbody></table> | 7 </td></tr></tbody></table> |
8 </div> | 8 </div> |
9 | 9 |
10 <div style="width: 100px; background: pink"> | 10 <div style="width: 100px; background: pink"> |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 </td></tr></tbody></table> | 61 </td></tr></tbody></table> |
62 </div> | 62 </div> |
63 | 63 |
64 <script src="../js/resources/js-test-pre.js"></script> | 64 <script src="../js/resources/js-test-pre.js"></script> |
65 <script> | 65 <script> |
66 var ids = ['text', 'file', 'range', 'select', 'multiple']; | 66 var ids = ['text', 'file', 'range', 'select', 'multiple']; |
67 ids.forEach(function(id) { | 67 ids.forEach(function(id) { |
68 shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.ge
tElementById("' + id + '-b").offsetWidth'); | 68 shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.ge
tElementById("' + id + '-b").offsetWidth'); |
69 }) | 69 }) |
70 </script> | 70 </script> |
71 <script src="../js/resources/js-test-post.js"></script> | |
OLD | NEW |