1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1b.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 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 the -1a variant, but with the whitespace removed between 1.11 + flex items (since that whitespace should be ignored anyway, if we're 1.12 + doing things right). 1.13 +--> 1.14 +<!-- XXXdholbert Does this testcase add value? 1.15 + (Maybe it should be an alternate reference case.) --> 1.16 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.17 + <head> 1.18 + <title>CSS Test: Test that flex items are created correctly</title> 1.19 + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> 1.20 + <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-items"/> 1.21 + <link rel="match" href="flexbox-whitespace-handling-1-ref.xhtml"/> 1.22 + <style> 1.23 + div { height: 100px; } 1.24 + div.flexbox { 1.25 + border: 1px dashed blue; 1.26 + width: 200px; 1.27 + display: flex; 1.28 + justify-content: space-around; 1.29 + } 1.30 + div.a { 1.31 + width: 30px; 1.32 + background: lightgreen; 1.33 + } 1.34 + div.b { 1.35 + width: 20px; 1.36 + background: lightblue; 1.37 + } 1.38 + img { width: 40px; } 1.39 + </style> 1.40 + </head> 1.41 + <body> 1.42 + <div class="flexbox"><div class="a"/></div> 1.43 + 1.44 + <div class="flexbox"><div class="a"/><div class="b"/></div> 1.45 + 1.46 + <div class="flexbox" 1.47 + ><img src="solidblue.png" 1.48 + /><img src="solidblue.png"/></div> 1.49 + </body> 1.50 +</html> 1.51 +