layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1-ref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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 inline-blocks manually positioned with "vertical-align:top" and
michael@0 8 margin-top.
michael@0 9 -->
michael@0 10 <html>
michael@0 11 <head>
michael@0 12 <title>CSS Reftest Reference</title>
michael@0 13 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
michael@0 14 <meta charset="utf-8">
michael@0 15 <link rel="stylesheet" type="text/css" href="support/ahem.css" />
michael@0 16 <style>
michael@0 17 body {
michael@0 18 margin: 0;
michael@0 19 font: 20px Ahem;
michael@0 20 line-height: 20px;
michael@0 21 /* Baseline is 0.8em = 16px from top */
michael@0 22 }
michael@0 23 .flexContainer {
michael@0 24 display: inline-block;
michael@0 25 background: lightblue;
michael@0 26 }
michael@0 27 .smallFont {
michael@0 28 font-size: 10px;
michael@0 29 line-height: 10px;
michael@0 30 /* Baseline is 0.8em = 8px from top */
michael@0 31 }
michael@0 32 .bigFont {
michael@0 33 font-size: 20px;
michael@0 34 line-height: 20px;
michael@0 35 /* Baseline is 0.8em = 16px from top */
michael@0 36 }
michael@0 37 * { vertical-align: top }
michael@0 38 </style>
michael@0 39 </head>
michael@0 40 <body>
michael@0 41 a
michael@0 42 <div class="flexContainer" style="margin-top: 8px">
michael@0 43 <div class="smallFont">b</div
michael@0 44 ><div class="bigFont">c</div>
michael@0 45 </div>
michael@0 46 <div class="flexContainer">
michael@0 47 <div class="bigFont">d</div
michael@0 48 ><div class="smallFont">e</div>
michael@0 49 </div>
michael@0 50 </body>
michael@0 51 </html>

mercurial