15 lines
633 B
HTML
15 lines
633 B
HTML
<!doctype html>
|
|
<head>
|
|
<title>line-box-contain: inline-box replaced</title>
|
|
<style>
|
|
.test { -webkit-line-box-contain: inline-box replaced; line-box-contain: inline-box replaced; font: 64px/1em Ahem; background-color:red; width:6em; height:3em }
|
|
.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:64px;padding-left:5em; padding-right:1em; padding-bottom:1em"></span><br>
|
|
<div style="display:inline-block; width:6em;height:1em;vertical-align:bottom;background-color:green"></div></div>
|