layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml

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 <?xml version="1.0" encoding="UTF-8"?>
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 for behavior of the 'baseline' value for align-items and
michael@0 7 align-self.
michael@0 8
michael@0 9 NOTE: For multi-line 'display: block' elements in the testcase (and inline
michael@0 10 content that gets wrapped in an anonymous block), we add an inline-table
michael@0 11 wrapper here in the reference case, so that we get first-line baseline
michael@0 12 alignment instead of the last-line baseline-alignment that an inline-block
michael@0 13 would give us.
michael@0 14 -->
michael@0 15 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 16 <head>
michael@0 17 <title>CSS Reftest Reference</title>
michael@0 18 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
michael@0 19 <style>
michael@0 20 .flexbox {
michael@0 21 display: block;
michael@0 22 border: 1px dashed blue;
michael@0 23 font: 14px sans-serif;
michael@0 24 }
michael@0 25
michael@0 26 div { display: inline-block; }
michael@0 27 table { display: inline-table; }
michael@0 28
michael@0 29 .big {
michael@0 30 height: 100px;
michael@0 31 font: 24px sans-serif;
michael@0 32 margin-top: 20px;
michael@0 33 }
michael@0 34 .super {
michael@0 35 vertical-align: super;
michael@0 36 font-size: 12px;
michael@0 37 }
michael@0 38 .sub {
michael@0 39 vertical-align: sub;
michael@0 40 font-size: 12px;
michael@0 41 }
michael@0 42
michael@0 43 .lime { background: lime; }
michael@0 44 .yellow { background: yellow; }
michael@0 45 .orange { background: orange; }
michael@0 46 .pink { background: pink; }
michael@0 47 .aqua { background: aqua; }
michael@0 48 .tan { background: tan; }
michael@0 49 </style>
michael@0 50 </head>
michael@0 51 <body>
michael@0 52 <div class="flexbox">
michael@0 53 <div class="lime">blk_1line</div
michael@0 54 ><table cellspacing="0" cellpadding="0"
michael@0 55 class="yellow">blk<br/>2lines</table
michael@0 56 ><div class="orange"><span class="super">super</span></div
michael@0 57 ><div class="pink"><span class="sub">sub</span></div
michael@0 58 ><table cellspacing="0" cellpadding="0"
michael@0 59 class="aqua big">big<br/>text<br/>3lines</table
michael@0 60 ><table class="tan" cellspacing="0" cellpadding="0">
michael@0 61 <i>ital<br/>ic</i>
michael@0 62 </table>
michael@0 63 </div>
michael@0 64 </body>
michael@0 65 </html>

mercurial