layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1a.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 Test: Testing that "min-width", "max-width", "min-height", and "max-height" are applied on absolutely positioned children of a horizontal flex container</title>
     9   <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    10   <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#abspos-items">
    11   <link rel="match" href="flexbox-abspos-child-1-ref.html">
    12   <meta charset="utf-8">
    13   <style>
    14     .flexContainer {
    15       display: flex;
    16       height: 10px;
    17       width: 10px;
    18       background: purple;
    19       margin-bottom: 15px;
    20       position: relative;
    21     }
    22     .absPos {
    23       position: absolute;
    24       background: teal;
    25     }
    26     .testMinWidth {
    27       width: 10px;
    28       height: 20px;
    29       min-width: 20px;
    30     }
    31     .testMaxWidth {
    32       width: 50px;
    33       height: 20px;
    34       max-width: 20px;
    35     }
    36     .testMinHeight {
    37       width: 20px;
    38       height: 10px;
    39       min-height: 20px;
    40     }
    41     .testMaxHeight {
    42       width: 20px;
    43       height: 50px;
    44       max-height: 20px;
    45     }
    46   </style>
    47 </head>
    48 <body>
    49   <div class="flexContainer"><div class="absPos testMinWidth"></div></div>
    50   <div class="flexContainer"><div class="absPos testMaxWidth"></div></div>
    51   <div class="flexContainer"><div class="absPos testMinHeight"></div></div>
    52   <div class="flexContainer"><div class="absPos testMaxHeight"></div></div>
    53 </body>
    54 </html>

mercurial