bug 978313 - reftest for initial ZWJ disrupting Arabic joining. r=jdaggett
authorJonathan Kew <jkew@mozilla.com>
Mon, 03 Mar 2014 08:02:26 +0000
changeset 171760 169b77523fe69236067111a7e7a6f40a547520e5
parent 171759 d30141d69df12cfe57aea30b6c81eb777edf1092
child 171761 9af980ae7109fe636a8c349fd5f518d000c70be7
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjdaggett
bugs978313
milestone30.0a1
bug 978313 - reftest for initial ZWJ disrupting Arabic joining. r=jdaggett
layout/reftests/text/initial-zwj-1-ref.html
layout/reftests/text/initial-zwj-1.html
layout/reftests/text/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/initial-zwj-1-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="ar">
+<head>
+<title>Bug 978313</title>
+<meta charset="utf-8">
+<style>
+body {
+  font-family: Arial, DejaVu Sans, Droid Sans Arabic, Droid Arabic Naskh;
+  font-size: 36px;
+}
+</style>
+</head>
+<body>
+&zwj;ی&zwj;ت
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/initial-zwj-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="ar">
+<head>
+<title>Bug 978313</title>
+<meta charset="utf-8">
+<style>
+body {
+  font-family: Arial, DejaVu Sans, Droid Sans Arabic, Droid Arabic Naskh;
+  font-size: 36px;
+}
+</style>
+</head>
+<body>
+&zwj;یت
+</body>
+</html>
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -130,16 +130,17 @@ skip-if(B2G) != wordwrap-09.html wordwra
 skip-if(B2G) == wordwrap-09.html wordwrap-09-ref.html
 == wordwrap-10.html wordwrap-10-ref.html # bug 752459
 == word-spacing-01.html word-spacing-01-ref.html
 # the following will fail when rendering with Core Text (see bug 389074) due to what appears to be
 # an Apple bug: the presence of ZWNJ disturbs the positioning of an adjacent glyph. rdar://6427865
 random-if(cocoaWidget) HTTP(..) == zwnj-01.xhtml zwnj-01-ref.xhtml
 HTTP(..) == zwnj-02.xhtml zwnj-02-ref.xhtml # HTTP(..) for ../filters.svg
 != zwnj-01.html zwnj-01-notref.html
+== initial-zwj-1.html initial-zwj-1-ref.html
 == cgj-01.html cgj-01-ref.html
 == 444656.html 444656-ref.html
 == 449555-1.html 449555-1-ref.html
 == 467722.html 467722-ref.html
 skip-if(B2G) HTTP(..) == 475092-sub.html 475092-ref.html
 fails-if(!winWidget&&!gtk2Widget) skip-if(B2G) HTTP(..) == 475092-pos.html 475092-sub.html # bug 482596
 == 476378-soft-hyphen-fallback.html 476378-soft-hyphen-fallback-ref.html
 # Test for bug 484954