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

Unified Diff: LayoutTests/fast/text/word-spacing-nbsp.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.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 &nbsp;not wrap</div>
+ <div style="white-space: nowrap;">Should &nbsp;not wrap</div>
+ </body>
+</html>
+
« no previous file with comments | « no previous file | LayoutTests/fast/text/word-spacing-nbsp-expected.html » ('j') | Source/platform/fonts/shaping/HarfBuzzShaper.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698