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 | <!-- Testcase for how we compute the baseline of a horizontal flex container |
michael@0 | 7 | with no flex items. This is the main-axis baseline. The spec says this |
michael@0 | 8 | about this case: |
michael@0 | 9 | |
michael@0 | 10 | The flex container's main-axis baseline is synthesized |
michael@0 | 11 | from ... the flex container's content box. |
michael@0 | 12 | |
michael@0 | 13 | I'm taking that to mean the baseline is the bottom of the content box. |
michael@0 | 14 | --> |
michael@0 | 15 | <html> |
michael@0 | 16 | <head> |
michael@0 | 17 | <title>CSS Test: Testing the baseline of an empty horizontal flex container</title> |
michael@0 | 18 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 19 | <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-baselines"> |
michael@0 | 20 | <link rel="match" href="flexbox-baseline-empty-1-ref.html"> |
michael@0 | 21 | <meta charset="utf-8"> |
michael@0 | 22 | <link rel="stylesheet" type="text/css" href="support/ahem.css" /> |
michael@0 | 23 | <style> |
michael@0 | 24 | body { |
michael@0 | 25 | font: 20px Ahem; |
michael@0 | 26 | } |
michael@0 | 27 | .flexContainer { |
michael@0 | 28 | display: inline-flex; |
michael@0 | 29 | height: 16px; |
michael@0 | 30 | width: 16px; |
michael@0 | 31 | background: purple; |
michael@0 | 32 | border: 0px dotted black; |
michael@0 | 33 | /* (Elements that want a border will set their border-width.) */ |
michael@0 | 34 | } |
michael@0 | 35 | </style> |
michael@0 | 36 | </head> |
michael@0 | 37 | <body> |
michael@0 | 38 | A |
michael@0 | 39 | <div class="flexContainer"></div> |
michael@0 | 40 | <div class="flexContainer" style="padding-bottom: 20px"></div> |
michael@0 | 41 | <div class="flexContainer" style="padding: 10px"></div> |
michael@0 | 42 | <div class="flexContainer" style="border-width: 3px"></div> |
michael@0 | 43 | <div class="flexContainer" style="border-bottom-width: 4px"></div> |
michael@0 | 44 | </body> |
michael@0 | 45 | </html> |