summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html
blob: 9a355f1469e9897cf03a46803f0dfbcbd0d5ada9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
  <title>
    Test for whether whitespace gets wrapped in an anonymous box,
    inside of -webkit-box.
  </title>
  <style>
  .container {
    display: -webkit-box;
    -webkit-box-pack: justify;
    width: 300px;
    border: 1px solid black;
    white-space: pre;
  }
  </style>
</head>
<body>
  <!-- Note the space characters between the first and second divs here: -->
  <div class="container"><div>a</div>   <div>b</div><div>c</div></div>
</body>
</html>