Index: LayoutTests/fast/text/word-spacing-nbsp.html |
diff --git a/LayoutTests/fast/text/word-spacing-nbsp.html b/LayoutTests/fast/text/word-spacing-nbsp.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d9fc3a8bae217b1b0fbf538573bf053b8a943bb0 |
--- /dev/null |
+++ b/LayoutTests/fast/text/word-spacing-nbsp.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <meta charset="utf-8"> |
+ <title>Test word-spacing and nbsp</title> |
+ <style type="text/css"> |
+ div { |
+ word-spacing: 20px; |
+ float: left; |
+ border: solid; |
+ clear: both; |
+ text-rendering: optimizeLegibility; |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ <p>Neither line below should wrap or expand outside the box</p> |
+ <div>Should not wrap</div> |
+ <div style="white-space: nowrap;">Should not wrap</div> |
+ </body> |
+</html> |
+ |