16 lines
541 B
HTML
16 lines
541 B
HTML
<!doctype html>
|
|
<head>
|
|
<title>line-box-contain: block replaced</title>
|
|
<style>
|
|
.test { -webkit-line-box-contain: block replaced; line-box-contain: block replaced; font: 64px/1em Ahem; background-color:red; width:5em}
|
|
.goodline { color: green; line-height:12 }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
You should see a green rectangle below. If you see any red, the test has failed.
|
|
|
|
<div class="test">
|
|
<span class="goodline">xxxxx</span><br>
|
|
<div style="display:inline-block; width:5em;height:2em;vertical-align:bottom;background-color:green"></div>
|
|
</div>
|