-
Notifications
You must be signed in to change notification settings - Fork 37
/
repaint-issue.html
55 lines (49 loc) · 1.11 KB
/
repaint-issue.html
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
<!DOCTYPE html>
<html>
<head>
<style>
.grid {
display: grid;
grid-template-areas: "a b c"
"d d d"
"e . .";
font-size: 3em;
}
.grid div {
width: 100%;
height: 100%;
}
#itema {
grid-area: a;
background-color: #FCC;
}
#itemb {
grid-area: b;
background-color: #CFC;
}
#itemc {
grid-area: c;
background-color: #CCF;
}
#itemd {
grid-area: d;
background-color: #FFC;
}
#iteme {
grid-area: e;
background-color: #CFF;
}
</style>
</head>
<body>
<div>"item d" is painted 3 times while the rest of the items are painted once.</div>
<hr>
<div class="grid">
<div id="itema">item a</div>
<div id="itemb">item b</div>
<div id="itemc">item c</div>
<div id="itemd">item d</div>
<div id="iteme">item e</div>
</div>
</body>
</html>