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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/inline/vertical-align-text-inherit-expected.html
diff --git a/LayoutTests/fast/inline/vertical-align-text-inherit-expected.html b/LayoutTests/fast/inline/vertical-align-text-inherit-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..b03f5309888a36673a822d9c939140e599094124
--- /dev/null
+++ b/LayoutTests/fast/inline/vertical-align-text-inherit-expected.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<style>
+.container {
+ background-color: yellow;
+ display: inline-block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ width: 200px;
+ white-space: nowrap;
+ vertical-align: top;
+}
+
+.green {
+ background-color: green;
+ display: inline-block;
+ width: 50px;
+ height: 50px;
+}
+
+span {
+ vertical-align: bottom;
+}
+</style>
+<p>Test passes if a text in a yellow box is aligned with the bottom of a left green box.</p>
+Baseline.
+<div class="container">
+ <div class="green"></div>
+ <span>This text should be aligned with the bottom of a left green box.</span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698