1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/flexbox-align-self-baseline-horiz-3-ref.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,58 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!-- 1.6 + Any copyright is dedicated to the Public Domain. 1.7 + http://creativecommons.org/publicdomain/zero/1.0/ 1.8 +--> 1.9 +<!-- Reference case for behavior of the 'baseline' value for align-items and 1.10 + align-self. 1.11 + 1.12 + NOTE: For multi-line 'display: block' flex items in the testcase, we use 1.13 + an inline-table here in the reference case, so that we get first-line 1.14 + baseline alignment. (If we used an inline-block instead, that would give 1.15 + us *last-line* baseline alignment.) 1.16 +--> 1.17 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.18 + <head> 1.19 + <style> 1.20 + .flexbox { 1.21 + display: block; 1.22 + border: 1px dashed blue; 1.23 + font: 14px sans-serif; 1.24 + } 1.25 + 1.26 + div { display: inline-block; } 1.27 + table { display: inline-table; } 1.28 + 1.29 + .big { 1.30 + height: 100px; 1.31 + font: 24px sans-serif; 1.32 + margin-top: 20px; 1.33 + } 1.34 + 1.35 + .lime { background: lime; } 1.36 + .pink { background: pink; } 1.37 + .aqua { background: aqua; } 1.38 + </style> 1.39 + </head> 1.40 + <body> 1.41 + <div class="flexbox"> 1.42 + <div class="lime">text</div 1.43 + ><button>btn</button 1.44 + ><input type="radio" 1.45 + /><input type="checkbox" 1.46 + /><label class="pink">label</label 1.47 + ><table cellspacing="0" cellpadding="0" class="aqua"> 1.48 + <label>lab<br/>el</label> 1.49 + </table 1.50 + ><table cellspacing="0" cellpadding="0"> 1.51 + <fieldset>field<br/>set</fieldset> 1.52 + </table 1.53 + ><table cellspacing="0" cellpadding="0"> 1.54 + <fieldset><legend>leg</legend>field<br/>set</fieldset> 1.55 + </table 1.56 + ><table cellspacing="0" cellpadding="0"> 1.57 + <fieldset><legend>leg<br/>end</legend>field<br/>set</fieldset> 1.58 + </table> 1.59 + </div> 1.60 + </body> 1.61 +</html>