Index: third_party/WebKit/LayoutTests/printing/page-and-element-geometry-match.html |
diff --git a/third_party/WebKit/LayoutTests/printing/page-and-element-geometry-match.html b/third_party/WebKit/LayoutTests/printing/page-and-element-geometry-match.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ff027b75c9e28319842292e8d5a4e7835cae7a90 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/printing/page-and-element-geometry-match.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<script src="resources/paged-media-test-utils.js"></script> |
+<style> |
+ body,html{margin:0}; |
+ div{background:red}; |
+ div{height:50pt;width:100pt}; |
+ @page{margin:0; size: 100pt 50pt}; |
+</style> |
+<div></div> |
+<script> |
+ |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ function test() |
+ { |
+ numberOfPagesShouldBe(1); |
+ } |
+ |
+ runPrintingTest(test); |
+</script> |