Thu, 15 Jan 2015 21:13:52 +0100
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. -->
8 <html xmlns="http://www.w3.org/1999/xhtml">
9 <head>
10 <title>CSS Test: Testing the behavior of 'align-self' property values on flex items that are blocks, in a horizontal flex container</title>
11 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
12 <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#align-items-property"/>
13 <link rel="match" href="flexbox-align-self-horiz-1-ref.xhtml"/>
14 <style>
15 .flexbox {
16 border: 1px dashed blue;
17 height: 200px;
18 display: inline-flex;
19 font-size: 10px;
20 line-height: 10px;
22 /* Any children whose align-self is 'auto' (or unspecified, or
23 initial) will end up taking this value from us: */
24 align-items: center;
26 /* Any children whose align-self is 'inherit' will end up
27 inheriting this value from us: */
28 align-self: flex-end;
29 }
31 .flexbox > div {
32 width: 40px;
33 }
35 .big {
36 height: 100px;
37 font-size: 20px;
38 line-height: 20px;
39 }
41 /* Classes for each of the various align-self values */
42 .flex-start {
43 background: lime;
44 align-self: flex-start;
45 }
46 .flex-end {
47 background: orange;
48 align-self: flex-end;
49 }
50 .center {
51 background: lightblue;
52 align-self: center;
53 }
54 .baseline {
55 background: teal;
56 align-self: baseline;
57 }
58 .stretch {
59 background: pink;
60 align-self: stretch;
61 }
62 .auto {
63 background: yellow;
64 align-self: auto;
65 }
66 .unspecified {
67 background: lightgreen;
68 }
69 .initial {
70 background: aqua;
71 align-self: initial;
72 }
73 .inherit {
74 background: violet;
75 align-self: inherit;
76 }
77 </style>
78 </head>
79 <body>
80 <div class="flexbox">
81 <div class="flex-start">start</div>
82 <div class="flex-start big">a b c d e f</div>
83 <div class="flex-end">end</div>
84 <div class="flex-end big">a b c d e f</div>
85 <div class="center">center</div>
86 <div class="center big">a b c d e f</div>
87 <div class="baseline">base</div>
88 <div class="baseline big">abc</div>
89 <div class="stretch">stretch</div>
90 <div class="stretch big">a b c d e f</div>
91 <div class="auto">auto</div>
92 <div class="unspecified">unspec</div>
93 <div class="initial">initial</div>
94 <div class="inherit">inherit</div>
95 </div>
96 </body>
97 </html>