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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-align.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
Patch Set: Created 5 years 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
(Empty)
1 <html>
2 <head>
3 <title>Align in textarea Test</title>
4 </head>
5 <body>
6 <p>The following textarea elements should all be rendered on the left, with their text aligned to the left.</p>
7 <textarea align="right" cols="50">This is should be aligned to the left.</te xtarea>
8 <br>
9 <textarea align="left" cols="50">This is should be aligned to the left.</tex tarea>
10 <br>
11 <textarea cols="50">This is should be aligned to the left.</textarea>
12
13 <br>
14 <textarea cols="50" id="test1">This is should be aligned to the left.</texta rea>
15 <script>
16 <!--
17 var obj1 = document.getElementById('test1');
18 obj1.setAttribute('align', 'right');
19 -->
20 </script>
21
22 <div id='insertionpoint'></div>
23 <script>
24 <!--
25 var ins = document.getElementById('insertionpoint');
26 var obj2 = document.createElement('TEXTAREA');
27 obj2.setAttribute('align', 'right');
28 obj2.setAttribute('cols', '50');
29 obj2.appendChild(document.createTextNode('This is should be aligned to t he left.'));
30 ins.appendChild(obj2);
31 //-->
32 </script>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698