Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
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 behavior of the 'baseline' value for align-items (and
7 align-self, implicitly). This test baseline-aligns various types of
8 content, and the flexbox's vertical size depends on the aggregate
9 post-alignment height of its children. This test also uses
10 "flex-wrap: wrap-reverse" to make the cross-axis bottom-to-top instead
11 of top-to-bottom.
12 -->
13 <html xmlns="http://www.w3.org/1999/xhtml">
14 <head>
15 <title>CSS Test: Baseline alignment of block flex items with 'baseline' value for 'align-items' / 'align-self' in a wrap-reverse flex container</title>
16 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
17 <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#baseline-participation"/>
18 <link rel="match" href="flexbox-align-self-baseline-horiz-1-ref.xhtml"/>
19 <style>
20 .flexbox {
21 display: flex;
22 align-items: baseline;
23 flex-wrap: wrap-reverse;
24 border: 1px dashed blue;
25 font: 14px sans-serif;
26 }
28 .big {
29 height: 100px;
30 font: 24px sans-serif;
31 margin-top: 20px;
32 }
33 .super {
34 vertical-align: super;
35 font-size: 12px;
36 }
37 .sub {
38 vertical-align: sub;
39 font-size: 12px;
40 }
42 .lime { background: lime; }
43 .yellow { background: yellow; }
44 .orange { background: orange; }
45 .pink { background: pink; }
46 .aqua { background: aqua; }
47 .tan { background: tan; }
48 </style>
49 </head>
50 <body>
51 <div class="flexbox">
52 <div class="lime">blk_1line</div>
53 <div class="yellow">blk<br/>2lines</div>
54 <div class="orange"><span class="super">super</span></div>
55 <div class="pink"><span class="sub">sub</span></div>
56 <div class="aqua big">big<br/>text<br/>3lines</div>
57 <i class="tan">ital<br/>ic</i>
58 </div>
59 </body>
60 </html>