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.

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

mercurial