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

Side by Side Diff: LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html

Issue 12499009: Merge 146940 "Non-paintsContent fixed position layer should not ..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .fixed { 6 .fixed {
7 position: fixed; 7 position: fixed;
8 width: 10px; 8 width: 10px;
9 height: 10px; 9 height: 10px;
10 z-index: -1; 10 z-index: -1;
11 background-color: silver;
11 } 12 }
12 </style> 13 </style>
13 14
14 <script type="text/javascript"> 15 <script type="text/javascript">
15 if (window.internals) 16 if (window.internals)
16 window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(t rue); 17 window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(t rue);
17 18
18 if (window.testRunner) { 19 if (window.testRunner) {
19 testRunner.dumpAsText(); 20 testRunner.dumpAsText();
20 21
(...skipping 10 matching lines...) Expand all
31 <pre id="mainThreadScrollingReasons"></pre> 32 <pre id="mainThreadScrollingReasons"></pre>
32 </div> 33 </div>
33 34
34 <!-- out of view fixed position elements should not trigger main thread scrollin g. --> 35 <!-- out of view fixed position elements should not trigger main thread scrollin g. -->
35 <div class="fixed"></div> 36 <div class="fixed"></div>
36 <div class="fixed" style="top: -100px"></div> 37 <div class="fixed" style="top: -100px"></div>
37 <div class="fixed" style="top: 0px; left: 1000px"></div> 38 <div class="fixed" style="top: 0px; left: 1000px"></div>
38 39
39 </body> 40 </body>
40 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698