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

Side by Side Diff: ManualTests/compositing/fixed-position-out-of-view-scroll-prepaint.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 body { 5 body {
6 height: 2000px; 6 height: 2000px;
7 margin: 0px; 7 margin: 0px;
8 padding: 0px; 8 padding: 0px;
9 } 9 }
10 .main { 10 .main {
11 position: fixed; 11 position: fixed;
12 } 12 }
13 .fixed { 13 .fixed {
14 position: fixed; 14 position: fixed;
15 width: 100%; 15 width: 100%;
16 height: 100px; 16 height: 100px;
17 left: 0px; 17 left: 0px;
18 bottom: -100px; 18 bottom: -100px;
19 background-color: red; 19 background-color: red;
20 } 20 }
21 </style> 21 </style>
22 </head> 22 </head>
23 23
24 <body> 24 <body>
25 <div class="main"> 25 <div class="main">
26 This test is applicable on platforms that do accelerated compositing, can pr epaint out-of-view contents and can scroll the contents into the viewport withou t repainting them.<p> 26 This test is applicable on platforms that do accelerated compositing, can pr epaint out-of-view contents and can scroll the contents into the viewport withou t repainting them.<p>
27 The following settings need to be enabled:<p> 27 The following settings need to be enabled:<p>
28 - acceleratedCompositingForFixedPositionEnabled<br> 28 - preferCompositingToLCDTextEnabled<br>
29 - fixedPositionCreatesStackingContext<p> 29 - fixedPositionCreatesStackingContext<p>
30 To test, scroll the page up and down. The test passes if there is no tempora ry or permanent red in the page. 30 To test, scroll the page up and down. The test passes if there is no tempora ry or permanent red in the page.
31 </div> 31 </div>
32 32
33 <!-- An out-of-view fixed element that should be never visible --> 33 <!-- An out-of-view fixed element that should be never visible -->
34 <div class="fixed"></div> 34 <div class="fixed"></div>
35 </body> 35 </body>
36 </html> 36 </html>
37 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698