зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
ccb5d3c741
Коммит
27704a8a16
|
@ -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 am the<br>very model of a modern major-general.
|
||||
<p style="text-align:left;">I ​am ​the<br>very ​model ​of ​a ​modern ​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 am the<br>very model of a modern major-general.</p>
|
||||
<p style="text-align:left;">I ​am ​the<br>very ​model ​of ​a ​modern ​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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче