layout/reftests/flexbox/flexbox-align-self-baseline-horiz-3-ref.xhtml

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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' flex items in the testcase, we use
michael@0 10 an inline-table here in the reference case, so that we get first-line
michael@0 11 baseline alignment. (If we used an inline-block instead, that would give
michael@0 12 us *last-line* baseline alignment.)
michael@0 13 -->
michael@0 14 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 15 <head>
michael@0 16 <style>
michael@0 17 .flexbox {
michael@0 18 display: block;
michael@0 19 border: 1px dashed blue;
michael@0 20 font: 14px sans-serif;
michael@0 21 }
michael@0 22
michael@0 23 div { display: inline-block; }
michael@0 24 table { display: inline-table; }
michael@0 25
michael@0 26 .big {
michael@0 27 height: 100px;
michael@0 28 font: 24px sans-serif;
michael@0 29 margin-top: 20px;
michael@0 30 }
michael@0 31
michael@0 32 .lime { background: lime; }
michael@0 33 .pink { background: pink; }
michael@0 34 .aqua { background: aqua; }
michael@0 35 </style>
michael@0 36 </head>
michael@0 37 <body>
michael@0 38 <div class="flexbox">
michael@0 39 <div class="lime">text</div
michael@0 40 ><button>btn</button
michael@0 41 ><input type="radio"
michael@0 42 /><input type="checkbox"
michael@0 43 /><label class="pink">label</label
michael@0 44 ><table cellspacing="0" cellpadding="0" class="aqua">
michael@0 45 <label>lab<br/>el</label>
michael@0 46 </table
michael@0 47 ><table cellspacing="0" cellpadding="0">
michael@0 48 <fieldset>field<br/>set</fieldset>
michael@0 49 </table
michael@0 50 ><table cellspacing="0" cellpadding="0">
michael@0 51 <fieldset><legend>leg</legend>field<br/>set</fieldset>
michael@0 52 </table
michael@0 53 ><table cellspacing="0" cellpadding="0">
michael@0 54 <fieldset><legend>leg<br/>end</legend>field<br/>set</fieldset>
michael@0 55 </table>
michael@0 56 </div>
michael@0 57 </body>
michael@0 58 </html>

mercurial