1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1-ref.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,52 @@ 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 +<!-- 1.10 + Reference case, with inline-blocks instead of flexbox/flex items, 1.11 + with positioning done using margins. 1.12 +--> 1.13 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.14 + <head> 1.15 + <title>CSS Reftest Reference</title> 1.16 + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> 1.17 + <style> 1.18 + div { height: 100px; } 1.19 + div.flexbox { 1.20 + border: 1px dashed blue; 1.21 + width: 200px; 1.22 + } 1.23 + div.a { 1.24 + width: 30px; 1.25 + background: lightgreen; 1.26 + display: inline-block; 1.27 + } 1.28 + div.b { 1.29 + width: 20px; 1.30 + background: lightblue; 1.31 + display: inline-block; 1.32 + } 1.33 + img { 1.34 + width: 40px; 1.35 + height: 100%; 1.36 + } 1.37 + </style> 1.38 + </head> 1.39 + <body> 1.40 + <div class="flexbox"> 1.41 + <div class="a" style="margin-left: 85px"/> 1.42 + </div> 1.43 + 1.44 + <div class="flexbox"> 1.45 + <div class="a" style="margin-left: 37.5px" 1.46 + /><div class="b" style="margin-left: 75px"/> 1.47 + </div> 1.48 + 1.49 + <div class="flexbox"> 1.50 + <img src="solidblue.png" style="margin-left: 30px" 1.51 + /><img src="solidblue.png" style="margin-left: 60px"/> 1.52 + </div> 1.53 + </body> 1.54 +</html> 1.55 +