summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/flexible-box-overflow.html
blob: 83b681644f9c2dfd7043ed9e64b50a4a2deadfca (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
<html>
<head>
<style>
div.flexbox {
  height: 80px;
  width: 80px;
  background-color: yellow;
  display: -moz-box;
  display: -webkit-box;
  display: box;
  -moz-box-align: center;
  -webkit-box-align: center;
  box-align: center;
}

div.horizontal {
  -moz-box-orient: horizontal;
  -webkit-box-orient: horizontal;
  box-orient: horizontal;
}

div.vertical {
  -moz-box-orient: vertical;
  -webkit-box-orient: vertical;
  box-orient: vertical;
}

div.bigbox {
  height: 98px;
  width: 98px;
  border: 1px solid black;
  margin-left: -10px;
  margin-top: -10px;
}
</style>
</head>
<body>
<p>
    This is a test for regressions against <i><a href="https://bugs.webkit.org/show_bug.cgi?id=8056">http://bugzilla.opendarwin.org/show_bug.cgi?id=8056</a>
    Flexible boxes do not repaint their top, left and children's overflows</i>.
</p>
<hr>
<div style="padding:10px;">
<div class="flexbox horizontal">
<div class="bigbox" style="white-space: pre;">Lorem ipsum dolor sit amet.</div>
</div>
</div>
<div style="padding:10px; margin-top: 20px;">
<div class="flexbox horizontal">
<div class="bigbox"></div>
</div>
</div>
<div style="padding:10px; margin-top: 20px;">
<div class="flexbox vertical">
<div class="bigbox"></div>
</div>
</div>
<div style="padding:10px; margin-top: 20px; margin-bottom: 40px;">
<div class="flexbox vertical">
<div class="bigbox">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam et ipsum. Nam consectetuer mi eget velit.</div>
</div>
</div>
</body>
</html>