mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
bug 715798 pt 2.5 - reftests to check Unicode emoji characters are not rendered blank. r=jrmuizel
This commit is contained in:
parent
2452bcd15e
commit
ef02f3e894
19
layout/reftests/text/emoji-01-notref.html
Normal file
19
layout/reftests/text/emoji-01-notref.html
Normal 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>
|
19
layout/reftests/text/emoji-01.html
Normal file
19
layout/reftests/text/emoji-01.html
Normal 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>
|
19
layout/reftests/text/emoji-02-notref.html
Normal file
19
layout/reftests/text/emoji-02-notref.html
Normal 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"> </span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
19
layout/reftests/text/emoji-02.html
Normal file
19
layout/reftests/text/emoji-02.html
Normal 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">😳</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user