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

Unified Diff: LayoutTests/fast/multicol/newmulticol/unresolvable-percent-max-height.html

Issue 144463015: [New multicol] Avoid 1px tall multicol if percent height is unresolvable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: LayoutTests/fast/multicol/newmulticol/unresolvable-percent-max-height.html
diff --git a/LayoutTests/fast/multicol/newmulticol/unresolvable-percent-max-height.html b/LayoutTests/fast/multicol/newmulticol/unresolvable-percent-max-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..a85bc7d1535af1e1c738a572ca3f16232cad2c85
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/unresolvable-percent-max-height.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Multicol with unresolvable percentage height</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ </head>
+ <body>
+ <p>There should be a blue square below, and no unnecessary scrollbar.</p>
+ <div style="-webkit-columns:2; columns:2; width:200px; max-height:100%; background:blue;">
+ <div style="height:400px;"></div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698