1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-3-ref.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,82 @@ 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 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.10 + <head> 1.11 + <title>CSS Reftest Reference</title> 1.12 + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> 1.13 + <style> 1.14 + .flexbox { 1.15 + width: 40px; 1.16 + height: 40px; 1.17 + border: 1px solid gray; 1.18 + margin: 5px; /* just for visual separation */ 1.19 + float: left; 1.20 + } 1.21 + 1.22 + .flexbox > * { 1.23 + background: yellow; 1.24 + border: 1px solid black; 1.25 + height: 20px; 1.26 + } 1.27 + </style> 1.28 + </head> 1.29 + <body> 1.30 + <!-- ZEROTH ROW: NO MARGINS --> 1.31 + <!-- No margins on flex item: --> 1.32 + <div class="flexbox"> 1.33 + <div style="margin-top: 18px">a</div> 1.34 + </div> 1.35 + 1.36 + 1.37 + <!-- FIRST ROW: SETTING MARGIN-TOP: --> 1.38 + <br style="clear: both"/> 1.39 + 1.40 + <!-- auto: --> 1.41 + <div class="flexbox"> 1.42 + <div style="margin-top: 18px">a</div> 1.43 + </div> 1.44 + 1.45 + <!-- Negative: --> 1.46 + <div class="flexbox"> 1.47 + <div style="margin-top: 18px">a</div> 1.48 + </div> 1.49 + 1.50 + <!-- Small: --> 1.51 + <div class="flexbox"> 1.52 + <div style="margin-top: 18px">a</div> 1.53 + </div> 1.54 + 1.55 + <!-- Large (pushing us out of container): --> 1.56 + <div class="flexbox"> 1.57 + <div style="margin-top: 18px">a</div> 1.58 + </div> 1.59 + 1.60 + 1.61 + <!-- SECOND ROW: SETTING MARGIN-BOTTOM: --> 1.62 + <br style="clear: both"/> 1.63 + 1.64 + <!-- auto: --> 1.65 + <div class="flexbox"> 1.66 + <div>a</div> 1.67 + </div> 1.68 + 1.69 + <!-- Negative: --> 1.70 + <div class="flexbox"> 1.71 + <div style="margin-top: 22px">a</div> 1.72 + </div> 1.73 + 1.74 + <!-- Small: --> 1.75 + <div class="flexbox"> 1.76 + <div style="margin-top: 14px">a</div> 1.77 + </div> 1.78 + 1.79 + <!-- Large: --> 1.80 + <div class="flexbox"> 1.81 + <div style="margin-top: -7px">a</div> 1.82 + </div> 1.83 + 1.84 + </body> 1.85 +</html>