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

Unified Diff: LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-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-iframe-expected.txt
diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt b/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2211dd0135f220541240dd2c7b4d1271679c33d
--- /dev/null
+++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt
@@ -0,0 +1,108 @@
+Verify that an iframe will be promoted to a composited layer only when it has additional scroll-blocks-on bits.
+
+{
+ "bounds": [800, 600],
+ "children": [
+ {
+ "bounds": [800, 600],
+ "scrollBlocksOn": ["StartTouch"],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [8, 60],
+ "bounds": [100, 15],
+ "drawsContent": true,
+ "children": [
+ {
+ "bounds": [100, 15],
+ "children": [
+ {
+ "bounds": [100, 15],
+ "children": [
+ {
+ "children": [
+ {
+ "bounds": [100, 15],
+ "children": [
+ {
+ "bounds": [100, 15],
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"],
+ "drawsContent": true
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "position": [8, 80],
+ "bounds": [100, 15],
+ "drawsContent": true,
+ "children": [
+ {
+ "bounds": [100, 15],
+ "children": [
+ {
+ "bounds": [100, 15],
+ "children": [
+ {
+ "children": [
+ {
+ "bounds": [100, 15],
+ "children": [
+ {
+ "bounds": [100, 15],
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"],
+ "drawsContent": true
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
+
+
+--------
+Frame: '<!--framePath //<!--frame2-->-->'
+--------
+{
+ "bounds": [100, 15],
+ "children": [
+ {
+ "bounds": [100, 15],
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"],
+ "drawsContent": true
+ }
+ ]
+}
+
+
+--------
+Frame: '<!--framePath //<!--frame3-->-->'
+--------
+{
+ "bounds": [100, 15],
+ "children": [
+ {
+ "bounds": [100, 15],
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"],
+ "drawsContent": true
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698