Index: LayoutTests/fast/canvas/canvas-scroll-path-into-view.html |
diff --git a/LayoutTests/fast/canvas/canvas-scroll-path-into-view.html b/LayoutTests/fast/canvas/canvas-scroll-path-into-view.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4d3a23f4608195f059d262a3bdf89c7e5be049c8 |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-scroll-path-into-view.html |
@@ -0,0 +1,34 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="../../resources/js-test.js"></script> |
+ <style> |
+ |
+ .container { |
+ display : inline-block; |
+ width : 200px; |
+ height : 200px; |
+ overflow : scroll; |
+ } |
+ |
+ .border { |
+ border : 500px solid white; |
+ } |
+ |
+ .padding { |
+ padding : 500px; |
+ } |
+ |
+ .margin { |
+ margin : 500px; |
+ } |
+ |
+ </style> |
+</head> |
+<body> |
+ <div class="container"> |
+ <canvas width="400" height="400"></canvas> |
+ </div> |
+ <script src="script-tests/canvas-scroll-path-into-view.js"></script> |
+</body> |
+</html> |