Bug 1308502 - Add reftests for line-breaking at clusters having <space> as their base. r=m_kato

This commit is contained in:
Jonathan Kew 2016-10-11 13:47:11 +01:00
Родитель 71ddac3537
Коммит 0844b5ebc4
5 изменённых файлов: 19 добавлений и 0 удалений

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

@ -30,6 +30,8 @@ random-if(cocoaWidget) == ja-3.html ja-3-ref.html
skip-if(gtkWidget) == quotationmarks-cjk-1.html quotationmarks-cjk-1-ref.html
== smileys-1.html smileys-1-ref.html
== smileys-2.html smileys-2-ref.html
fails == space-cluster-1.html space-cluster-1-ref.html # bug 1308502
fails == space-cluster-2.html space-cluster-2-ref.html # bug 1308502
== url-1.html url-1-ref.html
== url-2.html url-2-ref.html
== url-3.html url-3-ref.html

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

@ -0,0 +1,4 @@
<!DOCTYPE html>
<body style="line-height: 1.5em">
there<br>should<br>be<br>one<br>word<br>per<br>line
</body>

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

@ -0,0 +1,5 @@
<!DOCTYPE html>
<body style="width: 0; line-height: 1.5em">
<!-- none of these control codes should inhibit line breaking at the spaces -->
there&zwj; should &zwj;be&zwnj; one &zwnj;word&#x34f; per &#x34f;line
</body>

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

@ -0,0 +1,4 @@
<!DOCTYPE html>
<body>
Each diacritic should be on a separate line:
<div style="margin: 1em; line-height: 1.5em; font-family: monospace;">&#x302;<br>&#x304;<br>&#x305;<br>&#x306;<br>&#x307;

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

@ -0,0 +1,4 @@
<!DOCTYPE html>
<body>
Each diacritic should be on a separate line:
<div style="width: 0; margin: 1em; line-height: 1.5em; font-family: monospace;">&#x302; &#x304; &#x305; &#x306; &#x307;