mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 833297 - reftest for preserving clusters across font-shaping boundary with graphite. r=jdaggett
This commit is contained in:
parent
4b78b3e922
commit
a7a92fe4cd
@ -113,6 +113,7 @@ HTTP(..) != synthetic-bold-metrics-01.html synthetic-bold-metrics-01-notref.html
|
||||
skip-if(B2G) HTTP(..) == wordbreak-7a.html wordbreak-7a-ref.html
|
||||
fails HTTP(..) == wordbreak-7b.html wordbreak-7b-ref.html # bug 479829
|
||||
== wordbreak-8.html wordbreak-8-ref.html
|
||||
pref(gfx.font_rendering.graphite.enabled,true) HTTP(..) == wordbreak-9.html wordbreak-9-ref.html
|
||||
== wordwrap-01.html wordwrap-01-ref.html
|
||||
HTTP(..) == wordwrap-02.html wordwrap-02-ref.html
|
||||
skip-if(B2G) HTTP(..) == wordwrap-03.html wordwrap-03-ref.html
|
||||
|
29
layout/reftests/text/wordbreak-9-ref.html
Normal file
29
layout/reftests/text/wordbreak-9-ref.html
Normal file
@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: latin;
|
||||
src: url("../fonts/sil/GenR102.ttf");
|
||||
}
|
||||
@font-face {
|
||||
font-family: arabic;
|
||||
src: url("../fonts/sil/Scheherazade-R 2012-07-03c.ttf");
|
||||
}
|
||||
body {
|
||||
font-family: latin, arabic, sans-serif;
|
||||
font-size: 24px;
|
||||
line-height: 2em;
|
||||
}
|
||||
</style>
|
||||
<title>Test - word-break:break-all across font fallback</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- the arabic diacritics here will fall back to font 'arabic', which
|
||||
is a graphite-enabled arabic font, and be shaped separately;
|
||||
nevertheless, they must remain clustered with the preceding letters,
|
||||
no additional line-breaks are allowed before them (bug 833297) -->
|
||||
<div>f<br>oٌ<br>oِ<br>b<br>aٔ<br>r</div>
|
||||
</body>
|
||||
</html>
|
33
layout/reftests/text/wordbreak-9.html
Normal file
33
layout/reftests/text/wordbreak-9.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: latin;
|
||||
src: url("../fonts/sil/GenR102.ttf");
|
||||
}
|
||||
@font-face {
|
||||
font-family: arabic;
|
||||
src: url("../fonts/sil/Scheherazade-R 2012-07-03c.ttf");
|
||||
}
|
||||
body {
|
||||
font-family: latin, arabic, sans-serif;
|
||||
font-size: 24px;
|
||||
line-height: 2em;
|
||||
}
|
||||
div {
|
||||
width: 0px;
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
<title>Test - word-break:break-all across font fallback</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- the arabic diacritics here will fall back to font 'arabic', which
|
||||
is a graphite-enabled arabic font, and be shaped separately;
|
||||
nevertheless, they must remain clustered with the preceding letters,
|
||||
no additional line-breaks are allowed before them (bug 833297) -->
|
||||
<div>foٌoِbaٔr</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user