blob: 493822fb618ea47aab93a92831b0d19e8707281e [file] [log] [blame]
<!DOCTYPE html>
<head>
<script src="../../resources/check-layout.js"></script>
<style>
div {
line-height: 0px;
}
img {
padding-left: 100px;
background-color: blue;
}
</style>
</head>
<body onload="checkLayout('img')">
<p>This test checks that we add the right padding on a replaced element in vertical-writing mode.</p>
<div style="-webkit-writing-mode: vertical-lr;"><img src="resources/square-blue-100x100.png" data-expected-height="100" data-expected-width="200"></img></div>
</body>