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

Side by Side Diff: LayoutTests/fast/forms/percent-height-auto-width-form-controls.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 <select id="multiple-a" multiple style="height: 100%"><option>aaaaaaaaaa aaaaaaaaaaaaaaa 54 <select id="multiple-a" multiple style="height: 100%"><option>aaaaaaaaaa aaaaaaaaaaaaaaa
55 </td></tr></tbody></table> 55 </td></tr></tbody></table>
56 </div> 56 </div>
57 57
58 <div style="width: 100px; background: pink"> 58 <div style="width: 100px; background: pink">
59 <table><tbody><tr><td> 59 <table><tbody><tr><td>
60 <select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa 60 <select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa
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="../../resources/js-test.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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html ('k') | LayoutTests/fast/forms/placeholder-dom-property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698