layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-4-ref.html

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

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 Reftest Reference</title>
michael@0 9 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
michael@0 10 <style>
michael@0 11 .flexContainer {
michael@0 12 background: purple;
michael@0 13 display: flex;
michael@0 14 flex-direction: column;
michael@0 15 flex-wrap: wrap;
michael@0 16 width: 70px;
michael@0 17 height: 70px;
michael@0 18 margin-bottom: 5px;
michael@0 19 }
michael@0 20 .bigItem {
michael@0 21 background: blue;
michael@0 22 width: 200px;
michael@0 23 height: 50px;
michael@0 24 }
michael@0 25 .smallItem {
michael@0 26 background: teal;
michael@0 27 width: 20px;
michael@0 28 height: 50px;
michael@0 29 }
michael@0 30 .hidden > .bigItem {
michael@0 31 /* To match the testcase's "overflow:hidden"-cropped flex item, we
michael@0 32 just use a smaller width that exactly fits the space remaining
michael@0 33 in our container, after wrapping */
michael@0 34 width: 50px;
michael@0 35 }
michael@0 36 </style>
michael@0 37 </head>
michael@0 38 <body>
michael@0 39 <div class="flexContainer"><!-- (overflow un-set) -->
michael@0 40 <div class="smallItem"></div>
michael@0 41 <div class="bigItem"></div>
michael@0 42 </div>
michael@0 43 <div class="flexContainer hidden">
michael@0 44 <div class="smallItem"></div>
michael@0 45 <div class="bigItem"></div>
michael@0 46 </div>
michael@0 47 </body>
michael@0 48 </html>

mercurial