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

Side by Side Diff: LayoutTests/fast/css/word-spacing-inline-box-line-width-expected.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #container {
4 position: relative;
5 width: 300px;
6 height: 300px;
7 border: solid 1px red;
8 }
9
10 #right-align-block {
11 position: absolute;
12 right: 0;
13 word-spacing: 10px;
14 }
15 </style>
16 <div id="container">
17 <div id="right-align-block">
18 <span>AAAAA</span>
19 <span style="display:inline-block">BBBBB</span>
20 <span>CCCCC</span>
21 </div>
22 </div>
23 This test passes if the texts are aligned right, without overflowing.
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/word-spacing-inline-box-line-width.html ('k') | Source/core/rendering/RenderBlockLineLayout.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698