1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,60 @@ 1.4 +<!DOCTYPE html> 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> 1.10 +<head> 1.11 + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> 1.12 + <meta charset="utf-8"> 1.13 + <style> 1.14 + .container { 1.15 + width: 100px; 1.16 + height: 30px; 1.17 + border: 1px solid black; 1.18 + float: left; 1.19 + margin: 2px; 1.20 + } 1.21 + .container > * { 1.22 + float: left; /* emulate the testcase's horizontal lineup of flex items */ 1.23 + } 1.24 + .itemA { 1.25 + width: 22px; 1.26 + height: 22px; 1.27 + background: purple; 1.28 + border: 4px solid indigo; 1.29 + } 1.30 + .itemB { 1.31 + width: 40px; 1.32 + height: 20px; 1.33 + background: teal; 1.34 + border: 5px solid lightblue; 1.35 + } 1.36 + </style> 1.37 +</head> 1.38 +<body> 1.39 + <!-- FIRST ROW --> 1.40 + <!-- 1 inflexible item --> 1.41 + <div class="container"> 1.42 + <div class="itemA"></div> 1.43 + </div> 1.44 + <!-- 1 flexible item --> 1.45 + <div class="container"> 1.46 + <div class="itemA" style="width: 92px"></div> 1.47 + </div> 1.48 + 1.49 + <div style="clear: both"></div> 1.50 + 1.51 + <!-- SECOND ROW --> 1.52 + <!-- 2 inflexible items --> 1.53 + <div class="container"> 1.54 + <div class="itemA"></div> 1.55 + <div class="itemB"></div> 1.56 + </div> 1.57 + <!-- 2 flexible items --> 1.58 + <div class="container"> 1.59 + <div class="itemA" style="width: 32px"></div> 1.60 + <div class="itemB" style="width: 50px"></div> 1.61 + </div> 1.62 +</body> 1.63 +</html>