19 lines
500 B
HTML
19 lines
500 B
HTML
<!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>
|