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

Side by Side Diff: LayoutTests/compositing/fixed-background-after-style-recalc.html

Issue 479893002: Merge acceleratedCompositingForFixedRootBackground into preferCompositingToLCDText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/compositing/fixed-background-composited-html.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <style> 2 <style>
3 body { 3 body {
4 background-image: url('resources/simple_image.png'); 4 background-image: url('resources/simple_image.png');
5 background-size: 200px 200px; 5 background-size: 200px 200px;
6 height: 3000px; 6 height: 3000px;
7 } 7 }
8 8
9 body.fixed { 9 body.fixed {
10 background-attachment: fixed; 10 background-attachment: fixed;
11 } 11 }
12 </style> 12 </style>
13 <script> 13 <script>
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.dumpAsTextWithPixelResults(); 15 testRunner.dumpAsTextWithPixelResults();
16 16
17 if (window.internals) { 17 if (window.internals) {
18 window.internals.settings.setAcceleratedCompositingForFixedRootBackgroun dEnabled(true); 18 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
19 } 19 }
20 20
21 window.onload = function() { 21 window.onload = function() {
22 window.scrollTo(0, 300); 22 window.scrollTo(0, 300);
23 // crbug.com/343132 RenderLayerCompositor::rootFixedBackgroundsChanged s hould not query stale compositing state 23 // crbug.com/343132 RenderLayerCompositor::rootFixedBackgroundsChanged s hould not query stale compositing state
24 document.querySelector('body').classList.add('fixed'); 24 document.querySelector('body').classList.add('fixed');
25 } 25 }
26 </script> 26 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/fixed-background-composited-html.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698