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

Side by Side Diff: LayoutTests/fast/forms/input-double-click-selection-gap-bug.html

Issue 222023002: focus() behaviour differs depending on how value is set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing Created 6 years, 8 months 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title></title> 4 <title></title>
5 <style type="text/css"> 5 <style type="text/css">
6 td { padding: 20px; background: lightgreen; } 6 td { padding: 20px; background: lightgreen; }
7 </style> 7 </style>
8 </head> 8 </head>
9 <body> 9 <body>
10 <p>The top table was resized while the field&rsquo;s contents 10 <p>The top table was resized while the field&rsquo;s contents
11 were selected.</p> 11 were selected.</p>
12 <table> 12 <table>
13 <tr> 13 <tr>
14 <td id="cell"> 14 <td id="cell">
15 <input value="foo bar" id="t"> 15 <input value="foo bar" id="t">
16 </td> 16 </td>
17 </tr> 17 </tr>
18 </table> 18 </table>
19 19
20 <table> 20 <table>
21 <tr> 21 <tr>
22 <td style="height: 200px;"> 22 <td style="height: 200px;">
23 <input value="foo bar"> 23 <input value="foo bar">
24 </td> 24 </td>
25 </tr> 25 </tr>
26 </table> 26 </table>
27 </body> 27 </body>
28 <script type="text/javascript"> 28 <script type="text/javascript">
29 document.getElementById('t').focus(); 29 document.getElementById('t').select();
30 document.getElementById('cell').style.height = "200px"; 30 document.getElementById('cell').style.height = "200px";
31 </script> 31 </script>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-plaintext-user-select-none.html ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698