summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml')
-rw-r--r--layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml b/layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
new file mode 100644
index 0000000000..10488ad8fa
--- /dev/null
+++ b/layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head><title>Hyphenation test</title></head>
+<!-- check that innermost beats xml:lang vs. lang difference -->
+<body lang="x-unknown-language">
+<div xml:lang="en-us">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
+supercalifragilisticexpialidocious
+</div>
+</div>
+</body>
+</html>
+