Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Any copyright is dedicated to the Public Domain. |
michael@0 | 4 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 5 | --> |
michael@0 | 6 | <!-- Reference case, using inline-block instead of inline-flex, and with the |
michael@0 | 7 | baseline-aligned items aligned using specific font-size / line-heights, |
michael@0 | 8 | and with unaligned children taken out of baseline-alignment using |
michael@0 | 9 | "float: left". |
michael@0 | 10 | --> |
michael@0 | 11 | <html> |
michael@0 | 12 | <head> |
michael@0 | 13 | <title>CSS Reftest Reference</title> |
michael@0 | 14 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 15 | <meta charset="utf-8"> |
michael@0 | 16 | <style> |
michael@0 | 17 | .flexContainer { |
michael@0 | 18 | display: inline-block; |
michael@0 | 19 | width: 40px; |
michael@0 | 20 | height: 40px; |
michael@0 | 21 | background: lightblue; |
michael@0 | 22 | } |
michael@0 | 23 | .flexContainer > * { |
michael@0 | 24 | height: 20px; |
michael@0 | 25 | display: inline-block; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | .smallFont { |
michael@0 | 29 | font-size: 8px; |
michael@0 | 30 | line-height: 8px; |
michael@0 | 31 | } |
michael@0 | 32 | .medFont { |
michael@0 | 33 | font-size: 12px; |
michael@0 | 34 | line-height: 12px; |
michael@0 | 35 | } |
michael@0 | 36 | .bigFont { |
michael@0 | 37 | font-size: 16px; |
michael@0 | 38 | line-height: 16px; |
michael@0 | 39 | } |
michael@0 | 40 | .unaligned { float: left } |
michael@0 | 41 | </style> |
michael@0 | 42 | </head> |
michael@0 | 43 | <body> |
michael@0 | 44 | a |
michael@0 | 45 | <!-- Flex containers with flex items that have a mix of baselines: --> |
michael@0 | 46 | <div class="flexContainer medFont"> |
michael@0 | 47 | <div class="medFont">b</div |
michael@0 | 48 | ><br><div class="bigFont unaligned">c</div> |
michael@0 | 49 | </div> |
michael@0 | 50 | |
michael@0 | 51 | <div class="flexContainer bigFont"> |
michael@0 | 52 | <div class="bigFont">f</div |
michael@0 | 53 | ><br><div class="smallFont unaligned">g</div> |
michael@0 | 54 | </div> |
michael@0 | 55 | |
michael@0 | 56 | <!-- Flex container with second line baseline-aligned |
michael@0 | 57 | (shouldn't make a difference) --> |
michael@0 | 58 | <div class="flexContainer smallFont"> |
michael@0 | 59 | <div class="smallFont">j</div |
michael@0 | 60 | ><br><div class="bigFont unaligned">k</div> |
michael@0 | 61 | </div> |
michael@0 | 62 | n |
michael@0 | 63 | |
michael@0 | 64 | </body> |
michael@0 | 65 | </html> |