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

Unified Diff: LayoutTests/fast/css/word-spacing-inline-box-line-width.html

Issue 704693003: Correct line width calculation with inline-block induced word spacing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/word-spacing-inline-box-line-width-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/word-spacing-inline-box-line-width.html
diff --git a/LayoutTests/fast/css/word-spacing-inline-box-line-width.html b/LayoutTests/fast/css/word-spacing-inline-box-line-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..88dc26be2a848a663875493e441d777fb3d2e553
--- /dev/null
+++ b/LayoutTests/fast/css/word-spacing-inline-box-line-width.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+#container {
+ width: 300px;
+ height: 300px;
+ border: solid 1px red;
+ text-align: end;
+ word-spacing: 10px;
+}
+</style>
+<div id="container">
+ <span>AAAAA</span>
+ <span style="display:inline-block">BBBBB</span>
+ <span>CCCCC</span>
+</div>
+This test passes if the texts are aligned right, without overflowing.
« no previous file with comments | « no previous file | LayoutTests/fast/css/word-spacing-inline-box-line-width-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698