mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 481948. Indic cluster reftests. r=roc
--HG-- extra : rebase_source : 4da52abab824881623a239f35626f13b00949513
This commit is contained in:
parent
ea5d72e887
commit
b16ecd7e9a
13
layout/reftests/bugs/481948-1-ref.html
Normal file
13
layout/reftests/bugs/481948-1-ref.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!-- test for bug 481948: check whether Indic cluster shows all glyphs -->
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>र्क्क्क</p>
|
||||
</body>
|
||||
</html>
|
15
layout/reftests/bugs/481948-1.html
Normal file
15
layout/reftests/bugs/481948-1.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!-- test for bug 481948: check whether Indic cluster shows all glyphs -->
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- The cluster here is longer than in the reference, so display should be different.
|
||||
In FF3.0.x on Mac OS X, they look identical. -->
|
||||
<p>र्क्क्क्क</p>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/bugs/481948-2-ref.html
Normal file
20
layout/reftests/bugs/481948-2-ref.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
/* try for some likely fonts that might implement the "fi" ligature */
|
||||
font-family: Times, Calibri, Palatino Linotype, DejaVu Serif, serif;
|
||||
font-size: 40pt;
|
||||
}
|
||||
.R {
|
||||
color: #FF0000;
|
||||
}
|
||||
.G {
|
||||
color: #00FF00;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span class="R">fi</span>
|
||||
</body>
|
||||
</html>
|
24
layout/reftests/bugs/481948-2.html
Normal file
24
layout/reftests/bugs/481948-2.html
Normal file
@ -0,0 +1,24 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
/* try for some likely fonts that might implement the "fi" ligature */
|
||||
font-family: Times, Calibri, Palatino Linotype, DejaVu Serif, serif;
|
||||
font-size: 40pt;
|
||||
}
|
||||
.R {
|
||||
color: #FF0000;
|
||||
}
|
||||
.G {
|
||||
color: #00FF00;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<!--
|
||||
The reference has "fi" in a single red span; the expected result is
|
||||
NOT EQUAL, provided we successfully paint the ligature in two halves.
|
||||
-->
|
||||
<body>
|
||||
<span class="R">f</span><span class="G">i</span>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/bugs/481948-3-ref.html
Normal file
17
layout/reftests/bugs/481948-3-ref.html
Normal file
@ -0,0 +1,17 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
.R { color: #FF0000; }
|
||||
.G { color: #00FF00; }
|
||||
.B { color: #0000FF; }
|
||||
.K { color: #000000; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>There should be only red and black text here</p>
|
||||
<p style="font-size: 24pt;">
|
||||
<span class="R">र्क्क</span><span
|
||||
class="K">क</span>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
22
layout/reftests/bugs/481948-3.html
Normal file
22
layout/reftests/bugs/481948-3.html
Normal file
@ -0,0 +1,22 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
.R { color: #FF0000; }
|
||||
.G { color: #00FF00; }
|
||||
.B { color: #0000FF; }
|
||||
.K { color: #000000; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>There should be only red and black text here</p>
|
||||
<p style="font-size: 24pt;">
|
||||
<!-- The first three spans here become a single Devanagari cluster,
|
||||
so the entire cluster is painted with the color of the first
|
||||
character. Currently NOT true on Linux, see bug 488364. -->
|
||||
<span class="R">र्</span><span
|
||||
class="G">क्</span><span
|
||||
class="B">क</span><span
|
||||
class="K">क</span>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -1189,6 +1189,9 @@ fails == 472020-2.xul 472020-2-ref.xul
|
||||
== 480880-2a.html about:blank
|
||||
== 480880-2b.html about:blank
|
||||
== 480880-2c.html about:blank
|
||||
!= 481948-1.html 481948-1-ref.html
|
||||
!= 481948-2.html 481948-2-ref.html
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 481948-3.html 481948-3-ref.html # different behavior on Linux, see bug 488364
|
||||
== 482398-1.html 482398-1-ref.html
|
||||
== 482592-1a.xhtml 482592-1-ref.html
|
||||
== 482592-1b.xhtml 482592-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user