Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: LayoutTests/fast/text/word-spacing-nbsp-expected.html

Issue 1310803003: Fix handling of word-spacing and nbsp for complex text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/text/word-spacing-nbsp-expected.html
diff --git a/LayoutTests/fast/text/word-spacing-nbsp-expected.html b/LayoutTests/fast/text/word-spacing-nbsp-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..86f75099c9dcb163cc3bd51b77aeee8215f4d118
--- /dev/null
+++ b/LayoutTests/fast/text/word-spacing-nbsp-expected.html
@@ -0,0 +1,25 @@
+<!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;
+ white-space: nowrap;
+ position: relative;
+ overflow: hidden;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Neither line below should wrap or expand outside the box</p>
+ <div>Should &nbsp;not wrap</div>
+ <div>Should &nbsp;not wrap</div>
+ </body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698