summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/019.html
blob: 035c1e28294f75f09087f7c5216a6750f7c0d291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html>
<head>
<style>
div { 
  display: -moz-box;
  display: -webkit-box;
  display: box;
}

.strip {
  -moz-box-pack: justify;
  -webkit-box-pack: justify;
  box-pack: justify;
}

.black {
  background-color: black
}

.board {
  border:4px solid maroon;
  width: 350px;
  height: 350px;
  -moz-box-orient: vertical;
  -webkit-box-orient: vertical;
  box-orient: vertical;
}

.square {
  background-color: black;
  width: 50px;
  height: 50px;
}

.white {
  background-color: white;
}

</style>
</head>
<body>
<p>You should see a 350x350 pixel (7 by 7) black/white checkerboard pattern below.  This test is checking
to see if box-pack: justify is supported.</p>
<div class="board">
  <div class="strip">
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
  </div>
  
  <div class="strip black">
    <div class="square white"></div>
    <div class="square white"></div>
    <div class="square white"></div>
    <div class="square white"></div>
  </div>
  
  <div class="strip">
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
  </div>
  
  <div class="strip black">
    <div class="square white"></div>
    <div class="square white"></div>
    <div class="square white"></div>
    <div class="square white"></div>
  </div>

  <div class="strip">
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
  </div>
  
  <div class="strip black">
    <div class="square white"></div>
    <div class="square white"></div>
    <div class="square white"></div>
    <div class="square white"></div>
  </div>

  <div class="strip">
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
    <div class="square"></div>
  </div>
</div>