Index: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-visual-viewport-size-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-visual-viewport-size-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-visual-viewport-size-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..11292b9d1add2c34a49b95b307659794e776c6dd |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-visual-viewport-size-expected.txt |
@@ -0,0 +1,131 @@ |
+Tests overrides for visual viewport size in combination with frame size overrides. |
+ |
+ |
+Running test: noOverrides |
+Overrides: {"width":0,"height":0,"visualViewportWidth":0,"visualViewportHeight":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: width |
+Overrides: {"width":200,"height":0,"visualViewportWidth":0,"visualViewportHeight":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 200, |
+ "visualHeight": 600, |
+ "layoutWidth": 200, |
+ "layoutHeight": 600 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: height |
+Overrides: {"width":0,"height":200,"visualViewportWidth":0,"visualViewportHeight":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 200, |
+ "layoutWidth": 800, |
+ "layoutHeight": 200 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: visualWidth |
+Overrides: {"width":0,"height":0,"visualViewportWidth":100,"visualViewportHeight":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 100, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: visualHeight |
+Overrides: {"width":0,"height":0,"visualViewportWidth":0,"visualViewportHeight":100,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 100, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: visualWidthAndHeight |
+Overrides: {"width":0,"height":0,"visualViewportWidth":100,"visualViewportHeight":150,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 100, |
+ "visualHeight": 150, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: visualAndFrame |
+Overrides: {"width":200,"height":250,"visualViewportWidth":100,"visualViewportHeight":150,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 100, |
+ "visualHeight": 150, |
+ "layoutWidth": 200, |
+ "layoutHeight": 250 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |
+Running test: visualLargerThanFrame |
+Overrides: {"width":100,"height":150,"visualViewportWidth":200,"visualViewportHeight":250,"deviceScaleFactor":0,"mobile":false,"fitWindow":false} |
+{ |
+ "visualWidth": 200, |
+ "visualHeight": 250, |
+ "layoutWidth": 100, |
+ "layoutHeight": 150 |
+} |
+Clearing overrides. |
+{ |
+ "visualWidth": 800, |
+ "visualHeight": 600, |
+ "layoutWidth": 800, |
+ "layoutHeight": 600 |
+} |
+ |