blob: cab3cc4cd90f1ae3aeaa4b181ddf23a92b78d87e (
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
95
96
97
98
99
100
101
|
<!DOCTYPE html>
<html>
<head>
<title>
Reference Case
</title>
<style>
.container {
display: flex;
justify-content: space-between;
width: 300px;
border: 1px solid black;
font: 10px sans-serif;
margin-bottom: 10px;
}
.container > * {
background: lightgray;
}
.fakeAnonWrapper {
background: none;
}
.fakeAnonWrapper > * {
background: lightgray;
}
.table {
display: table;
}
</style>
</head>
<body>
<!-- We use an explicit div (with class "fakeAnonWrapper") here, to match the
anonymous div that the testcase is expected to generate around contiguous
runs of inline content. -->
<div class="container">
<div class="fakeAnonWrapper">
a
<i>i</i><img src="bogus"><img src="bogus" alt="alt">
<canvas height="5" width="5"></canvas>
<video height="5" width="5"></video>
<div style="display:inline-block">ib</div>
<div style="display:inline-table">it</div>
z
</div>
<div>block</div>
<div>block</div>
</div>
<div class="container">
<div>block</div>
<div class="fakeAnonWrapper">
a
<i>i</i><img src="bogus"><img src="bogus" alt="alt">
<canvas height="5" width="5"></canvas>
<video height="5" width="5"></video>
<div style="display:inline-block">ib</div>
<div style="display:inline-table">it</div>
z
</div>
<div>block</div>
</div>
<div class="container">
<div>block</div>
<div>block</div>
<div class="fakeAnonWrapper">
a
<i>i</i><img src="bogus"><img src="bogus" alt="alt">
<canvas height="5" width="5"></canvas>
<video height="5" width="5"></video>
<div style="display:inline-block">ib</div>
<div style="display:inline-table">it</div>
z
</div>
</div>
<!-- We use explicit divs here for each anonymous wrapper-box that the testcase
is expected to produce (with class "fakeAnonWrapper", and also "table" if
it's expected to be a table wrapper) -->
<div class="container">
<div class="fakeAnonWrapper">a</div>
<div class="fakeAnonWrapper table">
<div style="display: table-cell">tc</div>
<div style="display: table-cell">tc</div>
</div>
<div class="fakeAnonWrapper">b</div>
<div class="fakeAnonWrapper table">
<div style="display: table-row">tr</div>
<div style="display: table-cell">tc</div>
</div>
<div class="fakeAnonWrapper">c</div>
<div class="fakeAnonWrapper table">
<div style="display: table-row">tr</div>
<div style="display: table-row-group">trg</div>
</div>
<div class="fakeAnonWrapper">d</div>
<table><tbody><tr><td>t</td></tr></tbody></table>
<div class="fakeAnonWrapper">e</div>
</div>
</body>
</html>
|