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

Side by Side Diff: LayoutTests/editing/input/reveal-caret-of-transformed-input-scrollable-parent.html

Issue 12087062: Revert 141139 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | LayoutTests/editing/input/reveal-caret-of-transformed-input-scrollable-parent-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script type="text/javascript" src="resources/reveal-utilities.js"></script>
4 </head>
5 <body>
6 <div>When the caret is scrolled out, on starting typing it must be brought to th e center of the control.</div>
7 <div style="overflow:auto; height:150px; width:300px">
8 <textarea name="textarea" id="textarea" rows="10" cols="10"
9 style="-webkit-transform:translate(110px, 110px) scale(2); height:200px"></tex tarea>
10 <div style="height:1000px"></div>
11 </div>
12 <script>
13
14 var textArea = document.getElementById("textarea");
15 textArea.textContent = generateNumbers(0, 500, 2, "\n");
16 textArea.focus();
17 textArea.selectionStart = 1200;
18 if (window.eventSender) {
19 eventSender.keyDown(">");
20 // If the parentNode's scrollTop is greater than 500, then the textarea
21 // isn't even visible.
22 document.body.innerHTML = textarea.parentNode.scrollTop < 600 ? "PASS" : "FA IL";
23 }
24
25 if (window.testRunner) {
26 testRunner.dumpAsText();
27 }
28
29 </script>
30 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/input/reveal-caret-of-transformed-input-scrollable-parent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698