layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-2.xhtml

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 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <!-- Testcase for align-items / align-self behavior, with all the possible
     7      values included on different items within a flex container, and with
     8      margin/border/padding values on each item. -->
     9 <html xmlns="http://www.w3.org/1999/xhtml">
    10   <head>
    11     <title>CSS Test: Testing the behavior of 'align-self' with a vertical flex container, with margin/padding/border on the items</title>
    12     <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
    13     <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#align-items-property"/>
    14     <link rel="match" href="flexbox-align-self-vert-2-ref.xhtml"/>
    15     <style>
    16       .flexbox {
    17         border: 1px dashed blue;
    18         width: 200px;
    19         display: flex;
    20         flex-direction: column;
    21         float: left;
    22         font-size: 10px;
    23       }
    25       .flexbox > div {
    26         margin:       1px 2px 3px 4px;
    27         border-width: 2px 3px 4px 5px;
    28         padding:      3px 4px 5px 6px;
    30         border-style: dotted;
    31       }
    33       div.big {
    34         font-size: 20px;
    35         width: 50px;
    36       }
    38       /* Classes for each of the various align-self values */
    39       .flex-start {
    40         background: lime;
    41         align-self: flex-start;
    42       }
    43       .flex-end {
    44         background: orange;
    45         align-self: flex-end;
    46       }
    47       .center {
    48         background: lightblue;
    49         align-self: center;
    50       }
    51       .baseline {
    52         background: teal;
    53         align-self: baseline;
    54       }
    55       .stretch {
    56         background: pink;
    57         align-self: stretch;
    58       }
    59    </style>
    60   </head>
    61   <body>
    62     <div class="flexbox">
    63       <div class="flex-start">start</div>
    64       <div class="flex-start big">a b c d e f</div>
    65       <div class="flex-end">end</div>
    66       <div class="flex-end big">a b c d e f</div>
    67       <div class="center">center</div>
    68       <div class="center big">a b c d e f</div>
    69     </div>
    70     <div class="flexbox">
    71       <div class="baseline">base</div>
    72       <div class="baseline big">abc</div>
    73       <div class="stretch">stretch</div>
    74       <div class="stretch big">a b c d e f</div>
    75     </div>
    76   </body>
    77 </html>

mercurial