summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/367504-margin-1.html
blob: 4f45a6fdcbd07c23afb95eea55c01d4c8fa35c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<title>Testcase, bug 367504 -- inline block as margin root</title>
<style type="text/css">

span#ib { display: inline-block; vertical-align: text-bottom; margin: 4px; }

span#ib span { display: block; margin: 3px; }

</style>
</head>
<body>
<table border><tr><td>

<p>x<span id="ib"><span>test</span></span>x</p>

</td></tr></table>
</body>
</html>