bug 654057 - reftest for diacritics in Segoe UI font. r=jdaggett
authorJonathan Kew <jfkthame@gmail.com>
Wed, 11 May 2011 20:25:57 +0100
changeset 69356 427fa3603d4c19dda278b996c6777297fea6ae37
parent 69355 800a2d46bb4e39da16583172d738bf44a2c8a236
child 69357 f209ae2ce125b486909752725e1b2aca638168d4
push id19937
push userjkew@mozilla.com
push dateWed, 11 May 2011 19:26:49 +0000
treeherdermozilla-central@427fa3603d4c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdaggett
bugs654057
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 654057 - reftest for diacritics in Segoe UI font. r=jdaggett
layout/reftests/bugs/654057-1-ref.html
layout/reftests/bugs/654057-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/654057-1-ref.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+<style type="text/css">
+/* This test is really intended for Segoe UI on Windows7;
+   we provide a known fallback font for other platforms where
+   the default font might not handle the diacritic (WinXP) */
+@font-face {
+  font-family: fallback;
+  src: url(../fonts/DejaVuSansMono.woff);
+}
+p.test {
+  font-family: "Segoe UI", fallback, sans-serif;
+  font-size: 60px;
+}
+span.test {
+  background: black;
+}
+</style>
+</head>
+<body>
+<p>Diacritic should be hidden by the black background:</p>
+<p class="test">x<span class="test">x</span>x</p>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/654057-1.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+<style type="text/css">
+/* This test is really intended for Segoe UI on Windows7;
+   we provide a known fallback font for other platforms where
+   the default font might not handle the diacritic (WinXP) */
+@font-face {
+  font-family: fallback;
+  src: url(../fonts/DejaVuSansMono.woff);
+}
+p.test {
+  font-family: "Segoe UI", fallback, sans-serif;
+  font-size: 60px;
+}
+span.test {
+  background: black;
+}
+</style>
+</head>
+<body>
+<p>Diacritic should be hidden by the black background:</p>
+<p class="test">x<span class="test">x&#x302;</span>x</p>
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1626,9 +1626,10 @@ fails-if(Android) == 635302-1.html 63530
 == 635373-1.html 635373-1-ref.html
 == 635373-2.html 635373-2-ref.html
 fails-if(http.platform=="X11"&&!layersGPUAccelerated) == 635373-3.html 635373-3-ref.html
 HTTP(..) == 635639-1.html 635639-1-ref.html
 HTTP(..) == 635639-2.html 635639-2-ref.html
 == 641770-1.html 641770-1-ref.html
 == 641856-1.html 641856-1-ref.html
 == 645491-1.html 645491-1-ref.html
+HTTP(..) == 654057-1.html 654057-1-ref.html
 == 652775-1.html 652775-1-ref.html