Bug 1072106 - Reftest for justification of accented space characters. r=roc

This commit is contained in:
Jonathan Kew 2014-09-24 18:10:59 +01:00
Родитель 832f6ddab2
Коммит 05da5d5b17
3 изменённых файлов: 45 добавлений и 0 удалений

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

@ -0,0 +1,22 @@
<!DOCTYPE HTML>
<html>
<meta charset="utf-8">
<style>
div {
font-family:monospace;
width:200px;
border:1px solid red;
-moz-text-align-last:justify;
text-align-last:justify;
}
span {
display:inline-block;
}
</style>
<!-- The <space> or <nbsp> characters that carry combining marks
should NOT be stretched by justification. -->
<div>
<p><span>Hello &#x308; &#x308; &#x308;</span> world
<p><span>Hello&nbsp;&#x308;&nbsp;&#x308;&nbsp;&#x308;</span> world
<p><span>Hello&nbsp;&#x308;</span> <span>&nbsp;&#x301;&nbsp;&#x300;world</span>
<p><span>Hello&nbsp;&#x202d;&#x308;&#x202c;</span> <span>&nbsp;&#x202d;&#x302;&#x202c;world</span>

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

@ -0,0 +1,22 @@
<!DOCTYPE HTML>
<html>
<meta charset="utf-8">
<style>
div {
font-family:monospace;
width:200px;
border:1px solid red;
-moz-text-align-last:justify;
text-align-last:justify;
}
span {
display:inline-block;
}
</style>
<!-- The <space> or <nbsp> characters that carry combining marks
should NOT be stretched by justification. -->
<div>
<p>Hello &#x308; &#x308; &#x308; world
<p>Hello&nbsp;&#x308;&nbsp;&#x308;&nbsp;&#x308; world
<p>Hello&nbsp;&#x308; &nbsp;&#x301;&nbsp;&#x300;world
<p>Hello&nbsp;&#x202d;&#x308;&#x202c; &nbsp;&#x202d;&#x302;&#x202c;world

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

@ -16,6 +16,7 @@ random-if(!cocoaWidget) == font-size-adjust-02.html font-size-adjust-02-ref.html
== justification-2b.html justification-2-ref.html
== justification-2c.html justification-2-ref.html
!= justification-2d.html justification-2-ref.html
== justification-space-diacritic.html justification-space-diacritic-ref.html
HTTP(..) load ligature-with-space-1.html
== line-editing-1a.html line-editing-1-ref.html
== line-editing-1b.html line-editing-1-ref.html