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

Side by Side Diff: LayoutTests/fast/inline/vertical-align-text-inherit-expected.html

Issue 1178473003: Vertical-aligned of LayoutText should not contribute to a layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .container {
4 background-color: yellow;
5 display: inline-block;
6 overflow: hidden;
7 text-overflow: ellipsis;
8 width: 200px;
9 white-space: nowrap;
10 vertical-align: top;
11 }
12
13 .green {
14 background-color: green;
15 display: inline-block;
16 width: 50px;
17 height: 50px;
18 }
19
20 span {
21 vertical-align: bottom;
22 }
23 </style>
24 <p>Test passes if a text in a yellow box is aligned with the bottom of a left gr een box.</p>
25 Baseline.
26 <div class="container">
27 <div class="green"></div>
28 <span>This text should be aligned with the bottom of a left green box.</span>
29 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698