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

Unified Diff: LayoutTests/printing/subframes-percentage-height.html

Issue 273043002: Don't use pageLogicalHeight() to resolve percentage values in subframes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@mixed-case-selector
Patch Set: Set a fixed body height to work around rounding issue on mac; also add a title to the test to descr… Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/printing/subframes-percentage-height-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/printing/subframes-percentage-height-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698