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 <!DOCTYPE html>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <!-- Testcase for how we compute the baseline of a horizontal flex container
7 with no flex items. This is the main-axis baseline. The spec says this
8 about this case:
10 The flex container's main-axis baseline is synthesized
11 from ... the flex container's content box.
13 I'm taking that to mean the baseline is the bottom of the content box.
14 -->
15 <html>
16 <head>
17 <title>CSS Test: Testing the baseline of an empty horizontal flex container</title>
18 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
19 <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-baselines">
20 <link rel="match" href="flexbox-baseline-empty-1-ref.html">
21 <meta charset="utf-8">
22 <link rel="stylesheet" type="text/css" href="support/ahem.css" />
23 <style>
24 body {
25 font: 20px Ahem;
26 }
27 .flexContainer {
28 display: inline-flex;
29 height: 16px;
30 width: 16px;
31 background: purple;
32 border: 0px dotted black;
33 /* (Elements that want a border will set their border-width.) */
34 }
35 </style>
36 </head>
37 <body>
38 A
39 <div class="flexContainer"></div>
40 <div class="flexContainer" style="padding-bottom: 20px"></div>
41 <div class="flexContainer" style="padding: 10px"></div>
42 <div class="flexContainer" style="border-width: 3px"></div>
43 <div class="flexContainer" style="border-bottom-width: 4px"></div>
44 </body>
45 </html>