1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-4-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 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 + <title>CSS Reftest Reference</title> 1.12 + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> 1.13 + <style> 1.14 + .flexContainer { 1.15 + background: purple; 1.16 + display: flex; 1.17 + flex-wrap: wrap; 1.18 + width: 70px; 1.19 + height: 70px; 1.20 + float: left; 1.21 + margin-right: 5px; 1.22 + } 1.23 + .bigItem { 1.24 + background: blue; 1.25 + width: 50px; 1.26 + height: 200px; 1.27 + } 1.28 + .smallItem { 1.29 + background: teal; 1.30 + width: 50px; 1.31 + height: 20px; 1.32 + } 1.33 + .hidden > .bigItem { 1.34 + /* To match the testcase's "overflow:hidden"-cropped flex item, we 1.35 + just use a smaller height that exactly fits the space remaining 1.36 + in our container, after wrapping */ 1.37 + height: 50px; 1.38 + } 1.39 + </style> 1.40 +</head> 1.41 +<body> 1.42 + <div class="flexContainer"><!-- (overflow un-set) --> 1.43 + <div class="smallItem"></div> 1.44 + <div class="bigItem"></div> 1.45 + </div> 1.46 + <div class="flexContainer hidden"> 1.47 + <div class="smallItem"></div> 1.48 + <div class="bigItem"></div> 1.49 + </div> 1.50 +</body> 1.51 +</html>