1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/flexbox-float-1b.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 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 + This test is like flexbox-float-1a.xhtml, but with the float-styled 1.11 + element already being a block. (Should render the same.) 1.12 +--> 1.13 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.14 + <head> 1.15 + <style> 1.16 + div.flexbox { 1.17 + display: flex; 1.18 + width: 400px; 1.19 + margin-bottom: 2px; 1.20 + font-family: sans-serif; 1.21 + background: lightgreen; 1.22 + justify-content: space-around; 1.23 + } 1.24 + </style> 1.25 + </head> 1.26 + <body> 1.27 + <div class="flexbox"> 1.28 + aaa<div style="float: left">[[[</div>bbb 1.29 + </div> 1.30 + <div class="flexbox"> 1.31 + aaa<div style="float: right">]]]</div>bbb 1.32 + </div> 1.33 + <div class="flexbox"> 1.34 + aaa<div style="float: left">[[[</div> 1.35 + </div> 1.36 + <div class="flexbox"> 1.37 + aaa<div style="float: right">]]]</div> 1.38 + </div> 1.39 + <div class="flexbox"> 1.40 + <div style="float: left">[[[</div>bbb 1.41 + </div> 1.42 + <div class="flexbox"> 1.43 + <div style="float: right">]]]</div>bbb 1.44 + </div> 1.45 + </body> 1.46 +</html>