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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-placeholder-layout-view.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <style> 3 <style>
4 body { 4 body {
5 margin: 0; 5 margin: 0;
6 padding: 0; 6 padding: 0;
7 } 7 }
8 #input:focus { 8 #input:focus {
9 width: 100%; 9 width: 100%;
10 } 10 }
11 </style> 11 </style>
12 </head> 12 </head>
13 <body id="body"> 13 <body id="body">
14 <p> https://bugs.webkit.org/show_bug.cgi?id=109020: An input element that grows to 100% width will create scrollbars, and these should go away when it loses foc us. </p> 14 <p> https://bugs.webkit.org/show_bug.cgi?id=109020: An input element that grows to 100% width will create scrollbars, and these should go away when it loses foc us. </p>
15 <textarea id="input" placeholder="placeholder"></textarea> 15 <textarea id="input" placeholder="placeholder"></textarea>
16 <textarea id="input2"></textarea> 16 <textarea id="input2"></textarea>
17 <script> 17 <script>
18 document.getElementById('input').focus(); 18 document.getElementById('input').focus();
19 document.getElementById('input2').focus(); 19 document.getElementById('input2').focus();
20 </script> 20 </script>
21 </body> 21 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698