layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-stretch-vert-1.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

michael@0 1 <!DOCTYPE html>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 5 -->
michael@0 6 <html>
michael@0 7 <head>
michael@0 8 <title>CSS Test: Testing the sizing of a stretched horizontal flex container in a vertical flex container</title>
michael@0 9 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
michael@0 10 <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#layout-algorithm">
michael@0 11 <link rel="match" href="flexbox-align-self-stretch-vert-1-ref.html">
michael@0 12 <meta name="assert" content="If a stretched flex item's main size is influenced by its cross size, and the flex container has a definite cross size, then the item's cross size should be resolved early so that it can be used when determining the item's main size">
michael@0 13 <meta name="assert" content="http://dev.w3.org/csswg/css-flexbox/issues-cr-2012#issue-23">
michael@0 14 <meta charset="utf-8">
michael@0 15 <style>
michael@0 16 div.fixedWidthWrapper {
michael@0 17 width: 200px;
michael@0 18 /* Small enough that 3 characters can _easily_ fit in our width */
michael@0 19 font-size: 12px;
michael@0 20 }
michael@0 21 div.vertContainer {
michael@0 22 display: flex;
michael@0 23 flex-direction: column;
michael@0 24 }
michael@0 25 div.vertItem {
michael@0 26 background: red;
michael@0 27 }
michael@0 28 div.horizContainer {
michael@0 29 display: flex;
michael@0 30 }
michael@0 31 div.horizItem {
michael@0 32 flex: 1;
michael@0 33 background: lime;
michael@0 34 }
michael@0 35 </style>
michael@0 36 </head>
michael@0 37 <body>
michael@0 38 <div class="fixedWidthWrapper">
michael@0 39 <div class="vertContainer">
michael@0 40 <div class="vertItem">
michael@0 41 <div class="horizContainer">
michael@0 42 <div class="horizItem">A B C</div>
michael@0 43 <div class="horizItem"></div>
michael@0 44 </div>
michael@0 45 </div>
michael@0 46 </div>
michael@0 47 </div>
michael@0 48 </body>
michael@0 49 </html>

mercurial