Bug 1032671 - Part 6. Add reftest for emoji. r?jfkthame
I set 'Arial' as dummy to resolve line-height on OSX refrest.
MozReview-Commit-ID: KLrgtnhZCGO
new file mode 100644
--- /dev/null
+++ b/layout/reftests/font-matching/emoji-fallback-1-ref.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<meta charset="utf-8">
+<title>emoji fallback</title>
+<style>
+#test p {
+ font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Sans Emoji', 'EmojiOne Mozilla';
+ line-height: 40px;
+}
+</style>
+</head>
+<body>
+
+<div id=test>
+<p>⌚⌛🌀🌁</p>
+</div>
+
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/font-matching/emoji-fallback-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<meta charset="utf-8">
+<title>emoji fallback</title>
+<style>
+#test p {
+ font-family: 'Arial'; /* workaround for OSX reftest */
+ line-height: 40px;
+}
+</style>
+</head>
+<body>
+
+<div id=test>
+<p>⌚⌛🌀🌁</p>
+</div>
+
+</body>
+</html>
--- a/layout/reftests/font-matching/reftest.list
+++ b/layout/reftests/font-matching/reftest.list
@@ -107,16 +107,18 @@ skip-if(!cocoaWidget) HTTP(..) != apple-
== italic-oblique-4.html italic-oblique-ref.html
== italic-oblique-5.html italic-oblique-ref.html
== italic-oblique-6.html italic-oblique-ref.html
== italic-oblique-7.html italic-oblique-ref.html
== italic-oblique-8.html italic-oblique-ref.html
== italic-oblique-9.html italic-oblique-ref.html
!= italic-oblique-kinnari.html italic-oblique-kinnari-ref.html
+== emoji-fallback-1.html emoji-fallback-1-ref.html
+
# system font generic per-language tests, only works under OSX currently
# Bug 1212731 - initial implementation caused startup regression and
# regression with full-width digits display in UI elements. Disable
# tests until these problems are corrected.
# random-if(!OSX) == system-generic-fallback-1.html system-generic-fallback-1-ref.html
# random-if(!OSX||OSX<1008) == system-generic-fallback-2.html system-generic-fallback-2-ref.html
# random-if(!OSX||OSX<1008) == system-generic-fallback-3.html system-generic-fallback-3-ref.html
# random-if(!OSX||OSX<1008) == system-generic-fallback-4.html system-generic-fallback-4-ref.html