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

Side by Side Diff: LayoutTests/compositing/layer-creation/scroll-blocks-on-default.html

Issue 784453003: Initial scroll-blocks-on compositor integration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unneeded TODO Created 5 years, 11 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #layer {
4 transform: translateZ(0);
5 width: 20px;
6 height: 20px;
7 }
8 </style>
9 <script>
10 if (window.testRunner) {
11 window.testRunner.dumpAsText();
12 }
13
14 onload = function() {
15 var output = document.getElementById('output');
16 if (window.internals)
17 document.getElementById('output').innerText += window.internals.laye rTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON);
Ian Vollick 2015/01/06 04:13:51 I think you want testRunner.setCustomTextOutput he
Rick Byers 2015/01/08 21:08:11 Cool, thanks. The only downside is now the test d
Ian Vollick 2015/01/09 15:17:33 Yeah, if you do it like the test I agree, but you
18 };
19 </script>
20 Verify we get the default scroll-blocks-on mode applied to the viewport, no addi tional layers created (even with an iframe), and no scroll-blocks-on mode applie d to any other layer.
21 <div id="layer"></div>
22 <iframe srcdoc="<div style='width: 15px;'></div>"></iframe>
23 <pre id="output"></pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698