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

Unified Diff: third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink.html

Issue 2908503003: Always relayout children of LayoutView when printing. (Closed)
Patch Set: Created 3 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 | third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink.html
diff --git a/third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink.html b/third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink.html
new file mode 100644
index 0000000000000000000000000000000000000000..f845b8a9127ee9031dc2f363800f9b23bb3ee5b0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+if (window.internals)
+ internals.settings.setShouldPrintBackgrounds(true);
+</script>
+<style>
+ @page { margin:0; }
+ body { margin:0; }
+</style>
+<div style="width:50%; height:550px; background:hotpink;"></div>
+
+<!-- This test assumes that the initial page width is less than 1100px, and
+ that we are allowed to actually stretch it to 1100px after initial layout,
+ when we have discovered the widest element. The following block will
+ trigger zoom-out: -->
+<div style="width:1100px; height:1px;"></div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/block-width-relayout-shrink-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698