|
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 <!-- |
|
7 This reference case is the same as the testcase, but with an explicit <div> |
|
8 around each run of content that we expect to turn into an anonymous |
|
9 flex item (to ensure that the whitespace is included). |
|
10 --> |
|
11 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
12 <head> |
|
13 <title>CSS Reftest Reference</title> |
|
14 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> |
|
15 <link rel="stylesheet" type="text/css" href="support/ahem.css" /> |
|
16 <style> |
|
17 div { height: 100px; } |
|
18 div.flexbox { |
|
19 white-space: pre; |
|
20 border: 1px dashed blue; |
|
21 width: 200px; |
|
22 display: flex; |
|
23 justify-content: space-around; |
|
24 } |
|
25 div.a { |
|
26 width: 30px; |
|
27 background: lightgreen; |
|
28 } |
|
29 div.b { |
|
30 width: 20px; |
|
31 background: lightblue; |
|
32 } |
|
33 </style> |
|
34 </head> |
|
35 <body> |
|
36 <!-- spaces around inline content at the beginning of flexbox --> |
|
37 <div class="flexbox"><div> abc</div><div class="a"/></div> |
|
38 <div class="flexbox"><div>abc </div><div class="a"/></div> |
|
39 <div class="flexbox"><div> abc </div><div class="a"/></div> |
|
40 |
|
41 <!-- spaces around inline content at the end of flexbox --> |
|
42 <div class="flexbox"><div class="a"/><div> abc</div></div> |
|
43 <div class="flexbox"><div class="a"/><div>abc </div></div> |
|
44 <div class="flexbox"><div class="a"/><div> abc </div></div> |
|
45 |
|
46 <!-- whitespace around inline content in between flex items --> |
|
47 <div class="flexbox"><div class="a"/><div> abc</div><div class="b"/></div> |
|
48 <div class="flexbox"><div class="a"/><div>abc </div><div class="b"/></div> |
|
49 <div class="flexbox"><div class="a"/><div> abc </div><div class="b"/></div> |
|
50 </body> |
|
51 </html> |
|
52 |