blob: e6d3325965255eec6f0435ff34780381cc51a56e (
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<style>
.flex {
display: flex;
}
.grid {
display: grid;
}
</style>
</head>
<body>
<div id="flex-container" class="flex">
<div id="flex-item"></div>
<div id="flex-container-item" class="flex"></div>
</div>
<div id="grid-container" class="grid">
<div id="grid-item"></div>
<div id="grid-container-item" class="grid"></div>
</div>
<div id="flex-container-with-grid" class="flex">
<div id="flex-item-grid-container" class="grid"></div>
</div>
<div id="flex-text-container" class="flex">
flex item (node text)
</div>
<div id="grid-text-container" class="grid">
grid item (node text). The text content for this text node needs to be long enough
so that the inspector does not inline it. Indeed we want to be able to select and
highlight it independently in the inspector so we can test the grid item infobar.
</div>
</body>
</html>
|