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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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 <!-- This testcase checks that we honor "justify-content" on a vertical
michael@0 7 flex container that has "overflow:hidden". We use a large flex item,
michael@0 8 large enough that it overflows the container, to be sure that
michael@0 9 "overflow: hidden" is actually applying. -->
michael@0 10 <html>
michael@0 11 <head>
michael@0 12 <title>CSS Test: Testing 'overflow' property on a vertical flex container, with 'justify-content: space-around'</title>
michael@0 13 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
michael@0 14 <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-containers">
michael@0 15 <link rel="match" href="flexbox-overflow-vert-3-ref.html">
michael@0 16 <style>
michael@0 17 .flexContainer {
michael@0 18 background: purple;
michael@0 19 display: flex;
michael@0 20 flex-direction: column;
michael@0 21 justify-content: space-around;
michael@0 22 width: 70px;
michael@0 23 height: 70px;
michael@0 24 margin-bottom: 5px;
michael@0 25 }
michael@0 26 .bigItem {
michael@0 27 background: blue;
michael@0 28 width: 200px;
michael@0 29 height: 20px;
michael@0 30 }
michael@0 31 .smallItem {
michael@0 32 background: teal;
michael@0 33 width: 20px;
michael@0 34 height: 20px;
michael@0 35 }
michael@0 36 .hidden { overflow: hidden }
michael@0 37 </style>
michael@0 38 </head>
michael@0 39 <body>
michael@0 40 <div class="flexContainer"><!-- (overflow un-set) -->
michael@0 41 <div class="bigItem"></div>
michael@0 42 <div class="smallItem"></div>
michael@0 43 </div>
michael@0 44 <div class="flexContainer hidden">
michael@0 45 <div class="bigItem"></div>
michael@0 46 <div class="smallItem"></div>
michael@0 47 </div>
michael@0 48 </body>
michael@0 49 </html>

mercurial