bug 715798 pt 2.5 - reftests to check Unicode emoji characters are not rendered blank. r=jrmuizel

This commit is contained in:
Jonathan Kew 2012-10-23 10:06:28 +01:00
parent 2452bcd15e
commit ef02f3e894
5 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Check that emoji char renders something visible (bug 715798, bug 779042)</title>
<style type="text/css">
body {
margin: 10px;
font-size: 40px;
line-height: 2em;
}
</style>
</head>
<body>
<div>
U+1F603:
</div>
</body>
</html>

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Check that emoji char renders something visible (bug 715798, bug 779042)</title>
<style type="text/css">
body {
margin: 10px;
font-size: 40px;
line-height: 2em;
}
</style>
</head>
<body>
<div>
U+1F603: &#x1F603;
</div>
</body>
</html>

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Check that HUGE emoji char renders something visible (bug 715798, bug 779042)</title>
<style type="text/css">
body {
margin: 10px;
font-size: 40px;
line-height: 600px;
}
</style>
</head>
<body>
<div>
U+1F633: <span style="font-size:400px">&nbsp;</span>
</div>
</body>
</html>

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Check that HUGE emoji char renders something visible (bug 715798, bug 779042)</title>
<style type="text/css">
body {
margin: 10px;
font-size: 40px;
line-height: 600px;
}
</style>
</head>
<body>
<div>
U+1F633: <span style="font-size:400px">&#x1F633;</span>
</div>
</body>
</html>

View File

@ -162,6 +162,11 @@ fails-if(!cocoaWidget) HTTP(..) != arabic-fallback-4.html arabic-fallback-4-notr
== 745555-1.html 745555-1-ref.html
== 745555-2.html 745555-2-ref.html
# ensure emoji chars don't render blank (bug 715798, bug 779042);
# should at least render hexboxes if there's no font support
!= emoji-01.html emoji-01-notref.html
!= emoji-02.html emoji-02-notref.html
# tests to compare graphite to opentype (will trivially pass when graphite not enabled)
HTTP(..) == graphite-05-ot-only.html graphite-05-ref.html
HTTP(..) != graphite-05-ot-only.html graphite-05-fail.html