layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-3.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 the
     8      flex container being shorter than its items. -->
     9 <html xmlns="http://www.w3.org/1999/xhtml">
    10   <head>
    11     <title>CSS Test: Testing the behavior of 'align-self' with a horizontal flex container that's shorter than its 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-horiz-3-ref.xhtml"/>
    15     <style>
    16       .flexbox {
    17         border: 1px dashed blue;
    18         padding: 3px;
    19         height: 4px;
    20         display: inline-flex;
    21         font-size: 10px;
    22         line-height: 10px;
    23         font-family: sans-serif;
    24       }
    26       .flexbox > div {
    27         width: 40px;
    28       }
    30       .big {
    31         height: 100px;
    32         font-size: 20px;
    33         line-height: 20px;
    34       }
    36       /* Classes for each of the various align-self values */
    37       .flex-start {
    38         background: lime;
    39         align-self: flex-start;
    40       }
    41       .flex-end {
    42         background: orange;
    43         align-self: flex-end;
    44       }
    45       .center {
    46         background: lightblue;
    47         align-self: center;
    48       }
    49       .baseline {
    50         background: teal;
    51         align-self: baseline;
    52       }
    53       .stretch {
    54         background: pink;
    55         align-self: stretch;
    56       }
    57       .auto {
    58         background: yellow;
    59         align-self: auto;
    60       }
    61       .unspecified {
    62         background: lightgreen;
    63       }
    64       .initial {
    65         background: aqua;
    66         align-self: initial;
    67       }
    68       .inherit {
    69         background: violet;
    70         align-self: inherit;
    71       }
    72    </style>
    73   </head>
    74   <body>
    75     <div class="flexbox">
    76       <div class="flex-start">start</div>
    77       <div class="flex-start big">a b c d e f</div>
    78       <div class="flex-end">end</div>
    79       <div class="flex-end big">a b c d e f</div>
    80       <div class="center">center</div>
    81       <div class="center big">a b c d e f</div>
    82       <div class="baseline">base</div>
    83       <div class="baseline big">abc</div>
    84       <div class="stretch">stretch</div>
    85       <div class="stretch big">a b c d e f</div>
    86       <div class="auto">auto</div>
    87       <div class="unspecified">unspec</div>
    88       <div class="initial">initial</div>
    89       <div class="inherit">inherit</div>
    90     </div>
    91   </body>
    92 </html>

mercurial