More tests for bug 249159, r=jfkthame
authorSimon Montagu <smontagu@smontagu.org>
Mon, 07 May 2012 12:18:24 -0700
changeset 93402 7faad86fbadaa043e2c8327dc46e574cd1b2b346
parent 93401 78c508bfee65fa90fc86b05042075de78f7964b8
child 93403 863fe7093e304ab0e92a1cf4f8bacdb721358e0f
push id22634
push useremorley@mozilla.com
push dateTue, 08 May 2012 09:48:43 +0000
treeherdermozilla-central@e4f9e2eab6b1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs249159
milestone15.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
More tests for bug 249159, r=jfkthame
layout/reftests/text/reftest.list
layout/reftests/text/wordbreak-3-ref.html
layout/reftests/text/wordbreak-3.html
layout/reftests/text/wordbreak-4a-ref.html
layout/reftests/text/wordbreak-4a.html
layout/reftests/text/wordbreak-4b-ref.html
layout/reftests/text/wordbreak-4b.html
layout/reftests/text/wordbreak-5-ref.html
layout/reftests/text/wordbreak-5.html
layout/reftests/text/wordbreak-6-ref.html
layout/reftests/text/wordbreak-6.html
layout/reftests/text/wordbreak-7-ref.html
layout/reftests/text/wordbreak-7.html
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -97,16 +97,22 @@ HTTP(..) != synthetic-bold-metrics-01.ht
 != text-align-justify-last-end.html text-align-justify-last-justify.html
 != text-align-justify-last-center.html text-align-justify-last-justify.html
 == variation-selector-unsupported-1.html variation-selector-unsupported-1-ref.html
 == white-space-1a.html white-space-1-ref.html
 == white-space-1b.html white-space-1-ref.html
 == white-space-2.html white-space-2-ref.html
 == wordbreak-1.html wordbreak-1-ref.html
 == wordbreak-2.html wordbreak-2-ref.html
+== wordbreak-3.html wordbreak-3-ref.html
+== wordbreak-4a.html wordbreak-4a-ref.html
+== wordbreak-4b.html wordbreak-4b-ref.html
+== wordbreak-5.html wordbreak-5-ref.html
+== wordbreak-6.html wordbreak-6-ref.html
+HTTP(..) == wordbreak-7.html wordbreak-7-ref.html
 == wordwrap-01.html wordwrap-01-ref.html
 HTTP(..) == wordwrap-02.html wordwrap-02-ref.html
 HTTP(..) == wordwrap-03.html wordwrap-03-ref.html
 == wordwrap-04.html wordwrap-04-ref.html
 == wordwrap-05.html wordwrap-05-ref.html
 == wordwrap-06.html wordwrap-06-ref.html
 == wordwrap-07.html wordwrap-07-ref.html
 != wordwrap-08.html wordwrap-01-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-3-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+  </style>
+  <title>Test - word-break: break-all with clusters</title>
+  </head>
+  <body>
+    <div>&#x0935;&#x093F;<br/>&#x0915;&#x093F;<br/>&#x092A;&#x0940;<br/>&#x0921;&#x093F;<br/>&#x092F;&#x093E;</div><br/>
+    <div>&#x0935;&#x093F;&#x0915;&#x093F;&#x092A;&#x0940;&#x0921;&#x093F;&#x092F;&#x093E;</div><br/>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-3.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    div.breakall { width: 0px; word-break: break-all; }
+    div.keepall { width: 0px; word-break: keep-all; }
+  </style>
+  <title>Test - word-break: break-all with clusters</title>
+  </head>
+  <body>
+    <div class="breakall">&#x0935;&#x093F;&#x0915;&#x093F;&#x092A;&#x0940;&#x0921;&#x093F;&#x092F;&#x093E;</div><br />
+    <div class="keepall">&#x0935;&#x093F;&#x0915;&#x093F;&#x092A;&#x0940;&#x0921;&#x093F;&#x092F;&#x093E;</div><br />
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-4a-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+  </style>
+  <title>Test - word-break: break-all with Hangul Jamos</title>
+  </head>
+  <body>
+    <div>&#x110B;&#x1162;<br/>&#x1100;&#x1175;<br/>&#x1111;&#x1161;&#x11AB;<br/>&#x1103;&#x1161;</div><br/>
+    <div>&#x110B;&#x1162;&#x1100;&#x1175;&#x1111;&#x1161;&#x11AB;&#x1103;&#x1161;</div><br/>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-4a.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    div.breakall { width: 0px; word-break: break-all; }
+    div.keepall { width: 0px; word-break: keep-all; }
+  </style>
+  <title>Test - word-break: break-all with Hangul Jamos</title>
+  </head>
+  <body>
+    <div class="breakall">&#x110B;&#x1162;&#x1100;&#x1175;&#x1111;&#x1161;&#x11AB;&#x1103;&#x1161;</div><br />
+    <div class="keepall">&#x110B;&#x1162;&#x1100;&#x1175;&#x1111;&#x1161;&#x11AB;&#x1103;&#x1161;</div><br />
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-4b-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+  </style>
+  <title>Test - word-break: break-all with Hangul syllables</title>
+  </head>
+  <body>
+    <div>&#xC560;<br/>&#xAE30;<br/>&#xD310;<br/>&#xB2E4;</div><br/>
+    <div>&#xC560;&#xAE30;&#xD310;&#xB2E4;</div><br/>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-4b.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    div.breakall { width: 0px; word-break: break-all; }
+    div.keepall { width: 0px; word-break: keep-all; }
+  </style>
+  <title>Test - word-break: break-all with Hangul syllables</title>
+  </head>
+  <body>
+    <div class="breakall">&#xC560;&#xAE30;&#xD310;&#xB2E4;</div><br />
+    <div class="keepall">&#xC560;&#xAE30;&#xD310;&#xB2E4;</div><br />
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-5-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+  </style>
+  <title>Test - word-break: break-all with supplementary characters</title>
+  </head>
+  <body>
+    <div>&#x10911;<br/>&#x10903;<br/>&#x10909;<br/>&#x10912;<br/>&#x10901;<br/>&#x10900;<br/>&#x1090C;<br/>&#x1090D;<br/>&#x10915;<br/>&#x10905;<br/>&#x10909;<br/>&#x10907;<br/>&#x10909;<br/>&#x10904;</div><br/>
+    <div>&#x10911;&#x10903;&#x10909;&#x10912;<br/>&#x10901;&#x10900;&#x1090C;&#x1090D;&#x10915;&#x10905;<br/>&#x10909;&#x10907;&#x10909;&#x10904;</div><br/>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-5.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    div.breakall { width: 0px; word-break: break-all; }
+    div.keepall { width: 0px; word-break: keep-all; }
+  </style>
+  <title>Test - word-break: break-all with supplementary characters</title>
+  </head>
+  <body>
+    <div class="breakall">&#x10911;&#x10903;&#x10909;&#x10912; &#x10901;&#x10900;&#x1090C;&#x1090D;&#x10915;&#x10905; &#x10909;&#x10907;&#x10909;&#x10904;</div><br />
+    <div class="keepall">&#x10911;&#x10903;&#x10909;&#x10912; &#x10901;&#x10900;&#x1090C;&#x1090D;&#x10915;&#x10905; &#x10909;&#x10907;&#x10909;&#x10904;</div><br />
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-6-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+  </style>
+  <title>Test - word-break: break-all with supplementary characters</title>
+  </head>
+  <body>
+    <div>&#x10a24;<br/>&#x10a2a;&#x10a0c;<br/>&#x10a2a;&#x10a3f;<br/>&#x10a17;&#x10a38;&#x10a05;&#x10a0c;&#x10a0f;</div><br/>
+    <div>&#x10a24;&#x10a2a;&#x10a0c;&#x10a2a;&#x10a3f;&#x10a17;&#x10a38;&#x10a05;&#x10a0c;&#x10a0f;</div><br/>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-6.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    div.breakall { width: 0px; word-break: break-all; }
+    div.keepall { width: 0px; word-break: keep-all; }
+  </style>
+  <title>Test - word-break: break-all with kharoshthi characters</title>
+  </head>
+  <body>
+    <div class="breakall">&#x10a24;&#x10a2a;&#x10a0c;&#x10a2a;&#x10a3f;&#x10a17;&#x10a38;&#x10a05;&#x10a0c;&#x10a0f;</div><br />
+    <div class="keepall">&#x10a24;&#x10a2a;&#x10a0c;&#x10a2a;&#x10a3f;&#x10a17;&#x10a38;&#x10a05;&#x10a0c;&#x10a0f;</div><br />
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-7-ref.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    @font-face {
+      font-family: test;
+      src: url(../fonts/DejaVuSansMono.woff);
+    }
+    body {
+      font-family: test;
+    }
+  </style>
+  <title>Test - word-break: break-all with rtl and diacritics</title>
+  </head>
+  <body>
+    <div>&#x0648;&#x064E;<br/>&#x0644;&#x064E;&#x0627;<br/>&#x0627;<br/>&#xFEDF;<br/>&#xFEC0;&#x064E;&#x0651;<br/>&#xFE8E;<br/>&#xFEDF;&#x0650;&#x0651;<br/>&#xFEF4;<br/>&#xFEE6;&#x064E;</div><br/>
+    <div>&#x0648;&#x064E;&#x0644;&#x064E;&#x0627;<br/>&#x0627;&#x0644;&#x0636;&#x064E;&#x0651;&#x0627;&#x0644;&#x0650;&#x0651;&#x064A;&#x0646;&#x064E;</div><br/>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/wordbreak-7.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <style type="text/css">
+    @font-face {
+      font-family: test;
+      src: url(../fonts/DejaVuSansMono.woff);
+    }
+    body {
+      font-family: test;
+    }
+    div.breakall { width: 0px; word-break: break-all; }
+    div.keepall { width: 0px; word-break: keep-all; }
+  </style>
+  <title>Test - word-break: break-all with rtl and diacritics</title>
+  </head>
+  <body>
+    <div class="breakall">&#x0648;&#x064E;&#x0644;&#x064E;&#x0627; &#x0627;&#x0644;&#x0636;&#x064E;&#x0651;&#x0627;&#x0644;&#x0650;&#x0651;&#x064A;&#x0646;&#x064E;</div><br />
+    <div class="keepall">&#x0648;&#x064E;&#x0644;&#x064E;&#x0627; &#x0627;&#x0644;&#x0636;&#x064E;&#x0651;&#x0627;&#x0644;&#x0650;&#x0651;&#x064A;&#x0646;&#x064E;</div><br />
+  </body>
+</html>