Bug 1072348 - Test for justification of text including Plane 2 characters. r=roc
authorJonathan Kew <jkew@mozilla.com>
Wed, 24 Sep 2014 18:11:05 +0100
changeset 207071 4a1dd8939824095c114dd3655ad917f740ba0fcb
parent 207070 570b7a08a2b7d382cbd04ae8f7866d21577d53e6
child 207072 fa58a19147aa76078282a26d6418d7328ebc67f8
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersroc
bugs1072348
milestone35.0a1
Bug 1072348 - Test for justification of text including Plane 2 characters. r=roc
layout/reftests/text/justification-cjk-extension-ref.html
layout/reftests/text/justification-cjk-extension.html
layout/reftests/text/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/justification-cjk-extension-ref.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<meta charset="utf-8">
+<style>
+div {
+  font:16px monospace;
+  width:200px;
+  border:1px solid red;
+  -moz-text-align-last:justify;
+  text-align-last:justify;
+}
+</style>
+<div lang="zh">
+你好<span style="color:transparent">你好</span>你好
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/justification-cjk-extension.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<meta charset="utf-8">
+<style>
+div {
+  font:16px monospace;
+  width:200px;
+  border:1px solid red;
+  -moz-text-align-last:justify;
+  text-align-last:justify;
+}
+</style>
+<div lang="zh">
+你好<span style="color:transparent">&#x210cf;&#x219c3;</span>你好
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -11,16 +11,17 @@ random-if(!cocoaWidget) == font-size-adj
 # in the "obvious" way, but it is unclear what the behavior should really be;
 # see bug #366138 for some (inconclusive) discussion
 # == font-size-adjust-03.html font-size-adjust-03-ref.html
 == justification-1.html justification-1-ref.html
 == justification-2a.html justification-2-ref.html
 == justification-2b.html justification-2-ref.html
 == justification-2c.html justification-2-ref.html
 != justification-2d.html justification-2-ref.html
+== justification-cjk-extension.html justification-cjk-extension-ref.html
 == justification-space-diacritic.html justification-space-diacritic-ref.html
 HTTP(..) load ligature-with-space-1.html
 == line-editing-1a.html line-editing-1-ref.html
 == line-editing-1b.html line-editing-1-ref.html
 == line-editing-1c.html line-editing-1-ref.html
 == line-editing-1d.html line-editing-1-ref.html
 == line-editing-1e.html line-editing-1-ref.html
 fails-if(cocoaWidget||winWidget) HTTP(..) == lineheight-metrics-1.html lineheight-metrics-1-ref.html # bug 657864