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

Side by Side Diff: third_party/WebKit/Source/web/tests/data/composited_selection_bounds_editable.html

Issue 2196363002: Modify LayoutTests to prep for compositing solid background scollers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now it works Created 4 years, 4 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 <style> 1 <style>
2 @font-face { 2 @font-face {
3 font-family: ahem; 3 font-family: ahem;
4 src: url(Ahem.ttf); 4 src: url(Ahem.ttf);
5 } 5 }
6 * { 6 * {
7 font-family: ahem; 7 font-family: ahem;
8 margin: 0; 8 margin: 0;
9 padding: 0; 9 padding: 0;
10 background-color: transparent; /* Prevent scrolling layer promotion to i t's own layer */
flackr 2016/08/02 15:02:44 nit: For clarity, can we mention this is for the t
Stephen Chennney 2016/08/02 19:00:00 Done.
10 } 11 }
11 </style> 12 </style>
12 <textarea id="text"> 13 <textarea id="text">
13 The quick brown fox jumped over the lazy dog. 14 The quick brown fox jumped over the lazy dog.
14 </textarea> 15 </textarea>
15 <script> 16 <script>
16 var textNode = document.getElementById("text"); 17 var textNode = document.getElementById("text");
17 textNode.focus(); 18 textNode.focus();
18 19
19 var expectEditable = true; 20 var expectEditable = true;
20 var expectEmptyTextFormControl = false; 21 var expectEmptyTextFormControl = false;
21 var yBottomEpsilon = 2; 22 var yBottomEpsilon = 2;
22 window.expectedResult = [document, 1, 1, 1, 14, document, 1, 1, 1, 14, expec tEditable, expectEmptyTextFormControl, yBottomEpsilon]; 23 window.expectedResult = [document, 1, 1, 1, 14, document, 1, 1, 1, 14, expec tEditable, expectEmptyTextFormControl, yBottomEpsilon];
23 </script> 24 </script>
24 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698