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

Side by Side 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, 7 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 body {
4 padding: 0;
5 margin: 0;
6 }
7 .outside {
8 font: 10px Ahem;
9 }
10 .inside {
11 display: inline-block;
12 width: 5px;
13 }
14 #top {
15 height: 50px;
16 vertical-align: top;
17 }
18 #bottom {
19 height: 110px;
20 vertical-align: bottom;
21 }
22 </style>
23 <script src="../../resources/check-layout.js"></script>
24 <div class="outside">
25 <div id="top" class="inside"></div>
26 <div id="bottom" class="inside"></div>
27 <div id="line" style="display: inline-block;" data-total-y=110>crbug.com/604 144: In an inline formatting context with a mix of top and bottom vertically ali gned inline-blocks use the lowest.</div>
28 </div>
29 <div id="test-output"></div>
30 <script>
31 window.checkLayout("#line", document.getElementById("test-output"));
32 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698