Chromium Code Reviews| OLD | NEW |
|---|---|
| (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=98>crbug.com/6041 44: In an inline formatting context with a mix of top and bottom vertically alig ned inline-blocks use the lowest.</div> | |
|
eae
2016/04/25 00:31:27
Why 98?
| |
| 28 </div> | |
| 29 <div id="test-output"></div> | |
| 30 <script> | |
| 31 window.checkLayout("#line", document.getElementById("test-output")); | |
| 32 </script> | |
| OLD | NEW |