layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-wrap-horiz-2.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

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: Ensure that min-width is honored for horizontal multi-line flex containers</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/#flex-wrap-property">
michael@0 11 <link rel="match" href="flexbox-flex-wrap-horiz-2-ref.html">
michael@0 12 <meta charset="utf-8">
michael@0 13 <style>
michael@0 14 div.flexbox {
michael@0 15 display: flex;
michael@0 16 flex-wrap: wrap;
michael@0 17 border: 1px dashed black;
michael@0 18 min-width: 100px;
michael@0 19 height: 12px;
michael@0 20 float: left;
michael@0 21 clear: both;
michael@0 22 margin-bottom: 2px;
michael@0 23 }
michael@0 24 div.smallItem {
michael@0 25 width: 30px;
michael@0 26 border: 1px solid blue;
michael@0 27 background: lightblue;
michael@0 28 }
michael@0 29 </style>
michael@0 30 </head>
michael@0 31 <body>
michael@0 32
michael@0 33 <!-- No flex items -->
michael@0 34 <div class="flexbox">
michael@0 35 </div>
michael@0 36
michael@0 37 <!-- Single small flex item -->
michael@0 38 <div class="flexbox">
michael@0 39 <div class="smallItem"></div>
michael@0 40 </div>
michael@0 41
michael@0 42 <!-- Multiple flex items, larger than flex container's min-size: -->
michael@0 43 <div class="flexbox">
michael@0 44 <div class="smallItem"></div>
michael@0 45 <div class="smallItem"></div>
michael@0 46 <div class="smallItem"></div>
michael@0 47 <div class="smallItem"></div>
michael@0 48 <div class="smallItem"></div>
michael@0 49 </div>
michael@0 50
michael@0 51 <!--- ...and now with flex container constrained by both min and max-size -->
michael@0 52 <div class="flexbox" style="max-width: 120px">
michael@0 53 <div class="smallItem"></div>
michael@0 54 <div class="smallItem"></div>
michael@0 55 <div class="smallItem"></div>
michael@0 56 <div class="smallItem"></div>
michael@0 57 <div class="smallItem"></div>
michael@0 58 </div>
michael@0 59
michael@0 60 </body>
michael@0 61 </html>

mercurial