diff --git a/layout/reftests/text/hyphenation-control-1-ref.html b/layout/reftests/text/hyphenation-control-1-ref.html new file mode 100644 index 000000000000..57f60bbfd16a --- /dev/null +++ b/layout/reftests/text/hyphenation-control-1-ref.html @@ -0,0 +1,47 @@ + + +
+ + + + +
+frag-
ilis-
tic-
ex-
pi-
ali
+
+
+frag-
ilis-
tic-
expi-
ali
+
+
+fragilis-
tic-
expiali
+
+
+fragilistic-
expiali
+
+
+fragilistic-
expiali
+
+
+fragilistic-
expiali
+
+
+
diff --git a/layout/reftests/text/hyphenation-control-1.html b/layout/reftests/text/hyphenation-control-1.html
new file mode 100644
index 000000000000..31c400c01c7e
--- /dev/null
+++ b/layout/reftests/text/hyphenation-control-1.html
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+fragilisticexpiali
+
+
+fragilisticexpiali
+
+
+fragilisticexpiali
+
+
+fragilisticexpiali
+
+
+fragilisticexpiali
+
+
+fragilisticexpiali
+
+
+
diff --git a/layout/reftests/text/hyphenation-control-2-ref.html b/layout/reftests/text/hyphenation-control-2-ref.html
new file mode 100644
index 000000000000..6f48c8bd8bd8
--- /dev/null
+++ b/layout/reftests/text/hyphenation-control-2-ref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+Supercali-
fragilistic-
expialidocious
+
+
+Supercali‐
fragilistic‐
expialidocious
+
+
+Supercali-fragilistic-expialidocious
+
+
+Supercali‐fragilistic‐expialidocious
+
+
+ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTU-
VWXYZsupercalifragilisticexpialidocious-
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
+
+
+
diff --git a/layout/reftests/text/hyphenation-control-3.html b/layout/reftests/text/hyphenation-control-3.html
new file mode 100644
index 000000000000..845f9a1f46d5
--- /dev/null
+++ b/layout/reftests/text/hyphenation-control-3.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZsupercalifragilisticexpialidociousABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
+
+
+
diff --git a/layout/reftests/text/reftest.list b/layout/reftests/text/reftest.list
index 957ec6b692a5..4b21b150d3b0 100644
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -316,6 +316,10 @@ HTTP(..) == graphite-surrogate-selection.html graphite-surrogate-selection-ref.h
== auto-hyphenation-transformed-1.html auto-hyphenation-transformed-1-ref.html
+== hyphenation-control-1.html hyphenation-control-1-ref.html
+== hyphenation-control-2.html hyphenation-control-2-ref.html
+== hyphenation-control-3.html hyphenation-control-3-ref.html
+
# osx-font-smoothing - with and without subpixel AA, only under OSX
fails-if(!cocoaWidget) != osx-font-smoothing.html osx-font-smoothing-ref.html
fails-if(!cocoaWidget) != osx-font-smoothing-2.html osx-font-smoothing-2-notref.html