test for bug 614468, halfwidth Katakana sound mark grapheme break
authorKarl Tomlinson <karlt+@karlt.net>
Fri, 26 Nov 2010 08:45:36 +1300
changeset 58235 709c439bd66f4829310e9ef253114a27a436f52e
parent 58234 7b49ee09259b4bbcc25e5f1959b978169c2e9098
child 58236 1907b6708e861721944651515b6ee8d6275517b9
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
bugs614468
milestone2.0b8pre
test for bug 614468, halfwidth Katakana sound mark grapheme break
layout/reftests/first-letter/329069-3-ref.html
layout/reftests/first-letter/329069-3.html
layout/reftests/first-letter/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/first-letter/329069-3-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="ja">
+<head>
+  <style>
+    span.fake-first-letter { color: red; }
+  </style>
+</head>
+<body>
+  <p><span class="fake-first-letter">&#xFF84;&#xFF9E;</span>&#xFF84;</p>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/first-letter/329069-3.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="ja">
+<head>
+  <style>
+   p:first-letter { color: red; }
+  </style>
+</head>
+<body>
+  <p>&#xFF84;&#xFF9E;&#xFF84;</p>
+</body>
+</html>
--- a/layout/reftests/first-letter/reftest.list
+++ b/layout/reftests/first-letter/reftest.list
@@ -31,16 +31,17 @@ random == dynamic-3b.html dynamic-3-ref.
 == 23605-3.html 23605-3-ref.html
 == 23605-4.html 23605-4-ref.html
 == 23605-5.html 23605-5-ref.html
 == 23605-6.html 23605-6-ref.html
 != 229764-1.html 229764-ref.html
 == 229764-2.html 229764-ref.html
 == 329069-1.html 329069-1-ref.html
 fails-if(!gtk2Widget) == 329069-2.html 329069-2-ref.html # bug 553981
+fails-if(!gtk2Widget) == 329069-3.html 329069-3-ref.html # bug 614468
 == 342120-1.xhtml 342120-1-ref.xhtml
 == 379799-1.html 379799-1-ref.html
 == 399941-1.html 399941-1-ref.html
 == 399941-2.html 399941-2-ref.html
 == 399941-3.html 399941-3-ref.html
 == 399941-4.html 399941-4-ref.html
 == 399941-5.html 399941-5-ref.html
 == 399941-6.html 399941-6-ref.html