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

Unified Diff: third_party/WebKit/LayoutTests/printing/flexbox-with-overflow-in-bottom-aligned-fixedpos.html

Issue 1426443003: Never paginate fixed-positioned objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test for fixed positioned inside transform inside multicol. Created 5 years, 2 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
Index: third_party/WebKit/LayoutTests/printing/flexbox-with-overflow-in-bottom-aligned-fixedpos.html
diff --git a/third_party/WebKit/LayoutTests/printing/flexbox-with-overflow-in-bottom-aligned-fixedpos.html b/third_party/WebKit/LayoutTests/printing/flexbox-with-overflow-in-bottom-aligned-fixedpos.html
new file mode 100644
index 0000000000000000000000000000000000000000..d9434815fb29da41f3471f6c8764503e2e899861
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/flexbox-with-overflow-in-bottom-aligned-fixedpos.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+if (window.internals)
+ internals.settings.setShouldPrintBackgrounds(true);
+</script>
+<p>The word "PASS" should be seen at the bottom of the page, and no red should be seen.</p>
+<div style="position:fixed; left:0; width:100%; bottom:0; background:red;">
+ <div style="display:flex; height:2em;">
+ <div style="width:100%;">
+ <div style="background:white;">
+ <span style="vertical-align:top;">PASS</span>
+ <span style="line-height:3em;">&nbsp;</span>
+ </div>
+ </div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698