summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/auto-hyphenation-xmllang-5.xhtml')
-rw-r--r--layout/reftests/text/auto-hyphenation-xmllang-5.xhtml28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/text/auto-hyphenation-xmllang-5.xhtml b/layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
new file mode 100644
index 0000000000..dce0ee03f8
--- /dev/null
+++ b/layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<style type="text/css">
+div {
+ margin: 10px;
+ width: 10px;
+ font-family: monospace;
+ hyphens: auto;
+}
+</style>
+</head>
+<!-- test some hyphenations that involve overlapping patterns -->
+<body xml:lang="en-us">
+<div>
+photo
+</div>
+<div>
+photograph
+</div>
+<div>
+photographer
+</div>
+<div>
+photographical
+</div>
+</body>
+</html>