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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-with-squashing.html

Issue 476273003: Rename acceleratedCompositingForFixedPosition to preferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-fixedpos: rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 div { 5 div {
6 border: black solid 1px; 6 border: black solid 1px;
7 } 7 }
8 8
9 .composited { 9 .composited {
10 transform: translateZ(0); 10 transform: translateZ(0);
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 </style> 36 </style>
37 37
38 <script> 38 <script>
39 if (window.testRunner) { 39 if (window.testRunner) {
40 testRunner.dumpAsText(); 40 testRunner.dumpAsText();
41 testRunner.waitUntilDone(); 41 testRunner.waitUntilDone();
42 } 42 }
43 43
44 if (window.internals) { 44 if (window.internals) {
45 window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(t rue); 45 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
46 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 46 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true);
47 window.internals.settings.setLayerSquashingEnabled(true); 47 window.internals.settings.setLayerSquashingEnabled(true);
48 } 48 }
49 49
50 function runTest() { 50 function runTest() {
51 var clientRect = document.getElementById('targetLink').getBoundingClientRect (); 51 var clientRect = document.getElementById('targetLink').getBoundingClientRect ();
52 x = (clientRect.left + clientRect.right) / 2; 52 x = (clientRect.left + clientRect.right) / 2;
53 y = (clientRect.top + clientRect.bottom) / 2; 53 y = (clientRect.top + clientRect.bottom) / 2;
54 54
55 if (window.eventSender) { 55 if (window.eventSender) {
(...skipping 11 matching lines...) Expand all
67 <div class='composited'></div> 67 <div class='composited'></div>
68 <div class='target'> 68 <div class='target'>
69 <a href='#' id='targetLink'>Target Link.</a> 69 <a href='#' id='targetLink'>Target Link.</a>
70 </div> 70 </div>
71 <div class='filler'></div> 71 <div class='filler'></div>
72 </div> 72 </div>
73 73
74 This test is successful if it doesn't crash. 74 This test is successful if it doesn't crash.
75 </body> 75 </body>
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698