author Jonathan Kew <>
Fri, 04 Aug 2017 15:26:50 +0100
changeset 423383 c4b95f208eeb55003dbbe7da141e2a995cd4bbcb
parent 241896 3ebcf80eb1a46c1be9ba01d99fa4baa176b96a5f
permissions -rw-r--r--
Bug 1316770 - Add text-rendering:optimizeLegibility to reftests for bug 1089388, to try and ensure we get proper glyph bounds. r=gbrown, a=test-only

<!DOCTYPE html>
<meta charset="utf-8">
.v-lr { writing-mode:vertical-lr;  }
.v-rl { writing-mode:vertical-rl; }

div {
  width: 300px;
  height: 200px;
  background: #ddd;
  margin: 50px;
  text-rendering: optimizeLegibility;


<div class="v-lr">
First part of the block.
<i id="test">New text inserted by script, to cause a reflow that slides the following lines.</i>
We will insert enough new content that it wraps onto additional lines.
Here is some more text that follows a forced break.
Observe what happens to it when text is added earlier.