<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="b">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="c">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="d">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="e">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="f">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="g">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="h">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="i">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="j">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="k">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="l">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
</div>
</body>
</html>