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

Side by Side Diff: LayoutTests/fast/forms/option-value-trim-html-spaces.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 9
10 <select> 10 <select>
11 <option id="o1"> text with extra while spaces </option> 11 <option id="o1"> text with extra while spaces </option>
12 <option id="o2"> text </option> 12 <option id="o2"> text </option>
13 <option id="o3">&nbsp;test&nbsp;text&nbsp;</option> 13 <option id="o3">&nbsp;test&nbsp;text&nbsp;</option>
14 <option id="o4"> test&nbsp;&nbsp;text </option> 14 <option id="o4"> test&nbsp;&nbsp;text </option>
(...skipping 12 matching lines...) Expand all
27 var o3 = document.getElementById('o3'); 27 var o3 = document.getElementById('o3');
28 var expected = '\u00A0'+'test'+'\u00A0'+ 'text'+'\u00A0'; 28 var expected = '\u00A0'+'test'+'\u00A0'+ 'text'+'\u00A0';
29 shouldBe('o3.value','"'+expected+'"'); 29 shouldBe('o3.value','"'+expected+'"');
30 30
31 var o4 = document.getElementById('o4'); 31 var o4 = document.getElementById('o4');
32 var expected = 'test'+'\u00A0\u00A0'+ 'text'; 32 var expected = 'test'+'\u00A0\u00A0'+ 'text';
33 shouldBe('o4.value', '"'+expected+'"'); 33 shouldBe('o4.value', '"'+expected+'"');
34 </script> 34 </script>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698