Index: LayoutTests/printing/subframes-percentage-height.html |
diff --git a/LayoutTests/printing/subframes-percentage-height.html b/LayoutTests/printing/subframes-percentage-height.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a064b5f43dfc952ee818ab48a32d5f9bb3013634 |
--- /dev/null |
+++ b/LayoutTests/printing/subframes-percentage-height.html |
@@ -0,0 +1,12 @@ |
+<!doctype html> |
+<title>Test iframe with 100% height content in printing</title> |
+<script> |
+ if (window.testRunner) |
+ testRunner.setPrinting(); |
+</script> |
+<body style="margin: 0; height:400px"> |
+<iframe frameborder=0 src="data:text/html,<!doctype html> |
+<style> |
+ html, body { height: 100%; margin: 0 } |
+ div { height: 100%; border: 10px solid blue; box-sizing: border-box; } |
+</style><div></div>"></iframe> |