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

Unified Diff: LayoutTests/css3/flexbox/imported/flexbox-flex-direction-column.htm

Issue 988523003: Reimplement min-width: auto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 5 years, 8 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/imported/flexbox-flex-direction-column.htm
diff --git a/LayoutTests/css3/flexbox/imported/flexbox-flex-direction-column.htm b/LayoutTests/css3/flexbox/imported/flexbox-flex-direction-column.htm
new file mode 100644
index 0000000000000000000000000000000000000000..384fcb736608b53f80940f951a1e8e3e53d35e16
--- /dev/null
+++ b/LayoutTests/css3/flexbox/imported/flexbox-flex-direction-column.htm
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS Flexbox Test: Flex-direction = column</title>
+ <link rel="author" title="Gavin Elster" href="mailto:gavin.elster@me.com">
+ <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
+ <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
+ <link rel="match" href="reference/flexbox-flex-direction-ref.htm" />
+ <meta name="flags" content="">
+ <meta name="assert" content="Test checks that flex container's main axis has the same orientation as the block axis of the current writing mode, when flex-direction = column. This assumes writing-direction = horizontal-tb', and direction = 'ltr'.">
+ <style>
+
+ /* Test specific Styles */
+
+ .flex-wrapper {
+ display: flex;
+ flex-direction: column;
+ flex-wrap: wrap;
+ }
+
+ /* Test-series styles */
+
+ .flex-wrapper {
+ width: 120px;
+ height: 120px;
+
+ /* should only display on error */
+ background: red;
+
+ /* Enforce writing mode */
+ direction: ltr;
+ writing-mode: horizontal-tb;
+ }
+
+ .flex-wrapper div {
+ width: 38px;
+ height: 38px;
+
+ background: green;
+ border: 1px solid limegreen;
+
+ color: white;
+ line-height: 40px;
+ text-align: center;
+ vertical-align: middle;
+ }
+ </style>
+ </head>
+ <body>
+ <p>The test passes if there is a 3x3 grid of green squares, numbered 1-9 left-to-right and top-to-bottom, and there is no red.</p>
+ <div class="flex-wrapper">
+ <div>1</div><div>4</div><div>7</div>
+ <div>2</div><div>5</div><div>8</div>
+ <div>3</div><div>6</div><div>9</div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698