blob: 47c0a4f41ed591c046f19def3692d1796d3183b4 [file] [log] [blame]
<!doctype html>
<head>
<title>line-box-contain: inline</title>
<style>
.test { -webkit-line-box-contain: inline; line-box-contain: inline; font: 64px/1em Ahem; background-color:red; width:6em; }
.goodline { color: green }
</style>
</head>
<body>
You should see a green rectangle below. If you see any red, the test has failed.
<div class="test">
<span style="background-color:green; font-size:128px; line-height:normal; padding-left:2.5em; padding-right:0.5em"></span><br>
<div style="display:inline-block; width:1em;height:2em;vertical-align:bottom;background-color:green"></div><span class="goodline">xxxxx</span>
</div>