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

Unified Diff: LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html

Issue 1258693005: [css-flexbox] Correctly determine whether a percentage height is definite (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 5 years, 4 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/css3/flexbox/percentage-height-in-abspos-expected.html
diff --git a/LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html b/LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..e96320e2d01b8496f407371c72f36b0c8e3138f3
--- /dev/null
+++ b/LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<style>
+body {
+ position: relative;
+ width: 800px;
+ height: 600px;
+}
+
+div {
+ background-color: grey;
+}
+
+#container {
+ background-color: red;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ display: flex;
+ flex-direction: column;
+}
+
+#top-bar {
+ background-color: green;
+ height: 100px;
+}
+
+#content {
+ background-color: blue;
+ height: 500px;
+}
+</style>
+
+
+<div id="container">
+ <div id="top-bar">
+ Tests that percentage heights get resolved correctly when the flexbox is
+ </div>
+ <div id="content">
+ absolutely positioned without an explicit height.
+ </div>
+</div>
+
+

Powered by Google App Engine
This is Rietveld 408576698