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

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: Revert change to fixed-position-in-fixed-overflow.html 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 } 10 }
11 #text {
12 background-color: transparent; /* Prevent scrolling layer promotion to i t's own layer */
13 }
11 </style> 14 </style>
12 <textarea id="text"> 15 <textarea id="text">
13 The quick brown fox jumped over the lazy dog. 16 The quick brown fox jumped over the lazy dog.
14 </textarea> 17 </textarea>
15 <script> 18 <script>
16 var textNode = document.getElementById("text"); 19 var textNode = document.getElementById("text");
17 textNode.focus(); 20 textNode.focus();
18 21
19 var expectEditable = true; 22 var expectEditable = true;
20 var expectEmptyTextFormControl = false; 23 var expectEmptyTextFormControl = false;
21 var yBottomEpsilon = 2; 24 var yBottomEpsilon = 2;
22 window.expectedResult = [document, 1, 1, 1, 14, document, 1, 1, 1, 14, expec tEditable, expectEmptyTextFormControl, yBottomEpsilon]; 25 window.expectedResult = [document, 1, 1, 1, 14, document, 1, 1, 1, 14, expec tEditable, expectEmptyTextFormControl, yBottomEpsilon];
23 </script> 26 </script>
24 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698