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

Unified Diff: third_party/WebKit/LayoutTests/fast/inline-block/vertical-align-top-and-bottom.html

Issue 1910053003: Get the right ascent/descent for the tallest vertically aligned container (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@396717-4
Patch Set: Updated Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/inline-block/vertical-align-top-and-bottom.html
diff --git a/third_party/WebKit/LayoutTests/fast/inline-block/vertical-align-top-and-bottom.html b/third_party/WebKit/LayoutTests/fast/inline-block/vertical-align-top-and-bottom.html
new file mode 100644
index 0000000000000000000000000000000000000000..62088ce0945d47add81c30bb7cf6e5993d1f53e1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/inline-block/vertical-align-top-and-bottom.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+body {
+ padding: 0;
+ margin: 0;
+}
+.outside {
+ font: 10px Ahem;
+}
+.inside {
+ display: inline-block;
+ width: 5px;
+}
+#top {
+ height: 50px;
+ vertical-align: top;
+}
+#bottom {
+ height: 110px;
+ vertical-align: bottom;
+}
+</style>
+<script src="../../resources/check-layout.js"></script>
+<div class="outside">
+ <div id="top" class="inside"></div>
+ <div id="bottom" class="inside"></div>
+ <div id="line" style="display: inline-block;" data-total-y=110>crbug.com/604144: In an inline formatting context with a mix of top and bottom vertically aligned inline-blocks use the lowest.</div>
+</div>
+<div id="test-output"></div>
+<script>
+ window.checkLayout("#line", document.getElementById("test-output"));
+</script>

Powered by Google App Engine
This is Rietveld 408576698