Reftests for ZWNJ
git-svn-id: svn://10.0.0.236/trunk@241849 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6d0a30f8ed
commit
efba9ba04b
@ -5,3 +5,6 @@ random == soft-hyphens-1c.html soft-hyphens-1-ref.html # bug 406299
|
||||
== white-space-1a.html white-space-1-ref.html
|
||||
== white-space-1b.html white-space-1-ref.html
|
||||
== white-space-2.html white-space-2-ref.html
|
||||
== zwnj-01.html zwnj-01-ref.html
|
||||
== zwnj-02.html zwnj-02-ref.html
|
||||
!= zwnj-01.html zwnj-02-ref.html
|
||||
|
||||
24
mozilla/layout/reftests/text/zwnj-01-ref.html
Normal file
24
mozilla/layout/reftests/text/zwnj-01-ref.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Reference rendering for zwnj-01.html. This uses spans with
|
||||
display:inline-block to prevent the letters from connecting -->
|
||||
<html>
|
||||
<head>
|
||||
<title>ZWNJ test</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-size: 36px;
|
||||
}
|
||||
span {
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="ar">
|
||||
<p><span>ها</span><span>هفته</span></p>
|
||||
<p><span>ها</span><span>موزه</span></p>
|
||||
<p><span>شنبه</span><span>سه</span></p>
|
||||
<p><span>آهن</span><span>راه</span></p>
|
||||
<p><span>افزار</span><span>نرم</span></p>
|
||||
</body>
|
||||
</html>
|
||||
21
mozilla/layout/reftests/text/zwnj-01.html
Normal file
21
mozilla/layout/reftests/text/zwnj-01.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- ZWNJ test #1. Persian words containing a ZWNJ (copied from
|
||||
http://www.unics.uni-hannover.de/nhtcapri/bidirectional-text.html) -->
|
||||
<html>
|
||||
<head>
|
||||
<title>ZWNJ test</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-size: 36px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="ar">
|
||||
<p>هفته‌ها</p>
|
||||
<p>موزه‌ها</p>
|
||||
<p>سه‌شنبه</p>
|
||||
<p>راه‌آهن</p>
|
||||
<p>نرم‌افزار</p>
|
||||
</body>
|
||||
</html>
|
||||
20
mozilla/layout/reftests/text/zwnj-02-ref.html
Normal file
20
mozilla/layout/reftests/text/zwnj-02-ref.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Reference rendering for zwnj-02.html. No spans, no ZWNJs. Everything
|
||||
should connect -->
|
||||
<head>
|
||||
<title>ZWNJ test</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-size: 36px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="ar">
|
||||
<p>هفتهها</p>
|
||||
<p>موزهها</p>
|
||||
<p>سهشنبه</p>
|
||||
<p>راهآهن</p>
|
||||
<p>نرمافزار</p>
|
||||
</body>
|
||||
</html>
|
||||
22
mozilla/layout/reftests/text/zwnj-02.html
Normal file
22
mozilla/layout/reftests/text/zwnj-02.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- ZWNJ test #2. The words from zwnj-01.html with the ZWNJs replaced by
|
||||
span boundaries. Correct behaviour is for the letters to connect across the
|
||||
spans -->
|
||||
<html>
|
||||
<head>
|
||||
<title>ZWNJ test</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-size: 36px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="ar">
|
||||
<p><span>هفته</span><span>ها</span></p>
|
||||
<p><span>موزه</span><span>ها</span></p>
|
||||
<p><span>سه</span><span>شنبه</span></p>
|
||||
<p><span>راه</span><span>آهن</span></p>
|
||||
<p><span>نرم</span><span>افزار</span></p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user