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

Unified Diff: LayoutTests/compositing/layer-creation/scroll-blocks-on-explicit-expected.txt

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/layer-creation/scroll-blocks-on-explicit-expected.txt
diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-explicit-expected.txt b/LayoutTests/compositing/layer-creation/scroll-blocks-on-explicit-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbdc3e404c0ec062952d7db59f25029a444e01e4
--- /dev/null
+++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-explicit-expected.txt
@@ -0,0 +1,26 @@
+Verifies that setting the scroll-blocks-on property in a stylesheet 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.
+
+{
+ "bounds": [800, 600],
+ "children": [
+ {
+ "bounds": [800, 600],
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [8, 8],
+ "bounds": [784, 1],
+ "scrollBlocksOn": ["WheelEvent"]
+ },
+ {
+ "position": [8, 9],
+ "bounds": [784, 2],
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"]
+ }
+ ]
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698