bug 703100 - pt 7 - fix fragile reftests that depend on metrics of fallback fonts used for invisible chars. r=roc

This commit is contained in:
Jonathan Kew 2012-01-05 11:54:46 +00:00
Родитель ccb5d3c741
Коммит 27704a8a16
4 изменённых файлов: 15 добавлений и 14 удалений

Просмотреть файл

@ -8,6 +8,7 @@
body {
font-family: dl1, serif;
font-size: 36px;
line-height: 2em;
letter-spacing: 3px;
}
</style>

Просмотреть файл

@ -8,6 +8,7 @@
body {
font-family: dl1, serif;
font-size: 36px;
line-height: 2em;
letter-spacing: 3px;
}
</style>

Просмотреть файл

@ -1,12 +1,11 @@
<!DOCTYPE HTML>
<html>
<body style="width:6em; text-align:justify; border:1px solid black; overflow:hidden;">
<p>I am the very model of a modern major-general.
<p style="width:100em;">I am the very model of a modern major-general.
<p style="width:100em;">I &nbsp;am the<br>very model of a modern major-general.
<p style="text-align:left;">I&nbsp;&nbsp;&#x200b;am&nbsp;&#x200b;the<br>very&nbsp;&#x200b;model&nbsp;&#x200b;of&nbsp;&#x200b;a&nbsp;&#x200b;modern&nbsp;&#x200b;major-general.
<p>I am the<br>very model of a modern major-general.
<body style="line-height:1.5em; width:6em; text-align:justify; border:1px solid black; overflow:hidden;">
<p>I am the very model of a modern major-general.</p>
<p style="width:100em;">I am the very model of a modern major-general.</p>
<p style="width:100em;">I &nbsp;am the<br>very model of a modern major-general.</p>
<p style="text-align:left;">I&nbsp;&nbsp;&#x200b;am&nbsp;&#x200b;the<br>very&nbsp;&#x200b;model&nbsp;&#x200b;of&nbsp;&#x200b;a&nbsp;&#x200b;modern&nbsp;&#x200b;major-general.</p>
<p>I am the<br>very model of a modern major-general.</p>
</body>
</html>

Просмотреть файл

@ -1,17 +1,17 @@
<!DOCTYPE HTML>
<html>
<body style="width:6em; text-align:justify; border:1px solid black;">
<body style="line-height:1.5em; width:6em; text-align:justify; border:1px solid black;">
<!-- Test which white-space values are allowed to take justification -->
<p style="white-space:normal;">I am the
very model of a modern major-general.
very model of a modern major-general.</p>
<p style="white-space:nowrap;">I am the
very model of a modern major-general.
very model of a modern major-general.</p>
<p style="white-space:pre;">I am the
very model of a modern major-general.
very model of a modern major-general.</p>
<p style="white-space:pre-wrap;">I am the
very model of a modern major-general.
very model of a modern major-general.</p>
<p style="white-space:pre-line;">I am the
very model of a modern major-general.
</body></html>
very model of a modern major-general.</p>
</body></html>