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

Side by Side Diff: LayoutTests/fast/forms/relayout-shifts-inner-editor-expected.html

Issue 952663002: Text inside input field gets misaligned when relaying out (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 input {
4 position: absolute;
5 top: 0;
6 left: 30px;
7 height: 50px;
8 width: 200px;
9 }
10 </style>
11 <div>This change checks that the caret in the &gt;input&lt; below doesn't shift out of it after several layouts.</div>
12 <div>This test has passed if the caret is centered <b>inside</b> the &gt;input&l t;</div>
13 <input id="input" type="text" autofocus>
14 <script>
15 input.focus();
16 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/relayout-shifts-inner-editor.html ('k') | Source/core/layout/LayoutTextControlSingleLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698