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

Side by Side Diff: LayoutTests/fast/forms/min-content-form-controls.html

Issue 48903019: Delete js-test-post.js. (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 <style> 2 <style>
3 .min-content { 3 .min-content {
4 min-width: 10px; 4 min-width: 10px;
5 width: -webkit-min-content; 5 width: -webkit-min-content;
6 width: -moz-min-content; 6 width: -moz-min-content;
7 width: -ie-min-content; 7 width: -ie-min-content;
8 width: -o-min-content; 8 width: -o-min-content;
9 width: min-content; 9 width: min-content;
10 } 10 }
(...skipping 15 matching lines...) Expand all
26 <select id="multiple-a" multiple class="min-content"><option>aaaaaaaaaaaaaaaaaaa aaaaaa</option></select><br> 26 <select id="multiple-a" multiple class="min-content"><option>aaaaaaaaaaaaaaaaaaa aaaaaa</option></select><br>
27 <select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></sel ect><br> 27 <select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></sel ect><br>
28 28
29 <script src="../js/resources/js-test-pre.js"></script> 29 <script src="../js/resources/js-test-pre.js"></script>
30 <script> 30 <script>
31 var ids = ['text', 'file', 'range', 'select', 'multiple']; 31 var ids = ['text', 'file', 'range', 'select', 'multiple'];
32 ids.forEach(function(id) { 32 ids.forEach(function(id) {
33 shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.ge tElementById("' + id + '-b").offsetWidth'); 33 shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.ge tElementById("' + id + '-b").offsetWidth');
34 }); 34 });
35 </script> 35 </script>
36 <script src="../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698