summaryrefslogtreecommitdiff
path: root/layout/reftests/bugs/380842-1.html
blob: e05fdb76762ac9442e5590cd77c6da01a27c2a93 (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
<!DOCTYPE html>
<html>
<head>
  <style>
    .test:before { content: "Before"; display: block }
    .test:after { content: "After"; display: block }
  </style>
</head>
<body>
<table>
  <caption class="test">
    Caption
  </caption>
<tr>
  <td class="test">
    Text
  </td>
</tr>
</table>
<div>
  Before inline-block
  <div style="display: inline-block" class="test"> Text </div>
  After inline-block
</div>
<div>
  Before span
  <span class="test"> Text </span>
  After span
</div>
<div class="test"> Text </div>
</body>
</html>