summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/auto-hyphenation-6.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/auto-hyphenation-6.html')
-rw-r--r--layout/reftests/text/auto-hyphenation-6.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/text/auto-hyphenation-6.html b/layout/reftests/text/auto-hyphenation-6.html
new file mode 100644
index 0000000000..5f66d64e2a
--- /dev/null
+++ b/layout/reftests/text/auto-hyphenation-6.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<!-- style changes don't break hyphenation -->
+<body lang="en-us">
+<div style="width: 0; hyphens: auto;">
+hy<span style="color:red">phen</span>ation
+</div>
+</body>
+</html>
+