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

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

Issue 784453003: Initial scroll-blocks-on compositor integration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Eliminate scrollbars from iframe test for cross-platform output consistency 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 #redundant {
4 height: 1px;
5 scroll-blocks-on: wheel-event;
6 }
7 #addScroll {
8 height: 2px;
9 scroll-blocks-on: start-touch scroll-event;
10 }
11 #none {
12 height: 3px;
13 scroll-blocks-on: none;
14 }
15 </style>
16 <div id=redundant></div>
17 <div id=addScroll></div>
18 <div id=none></div>
19 <script>
20 if (window.testRunner) {
21 testRunner.dumpAsText();
22 var output = "Verifies that setting the scroll-blocks-on property in a s tylesheet creates layers with the correct modes only when it's greater than the defaults on the root. In this case, only 'addScroll' should get a layer.\n\n";
23 output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLU DES_SCROLL_BLOCKS_ON);
24 testRunner.setCustomTextOutput(output);
25 }
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698