1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/flexbox-inlinecontent-horiz-2-ref.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 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 a stretch of inline content in a flex container. 1.11 + (The corresponding testcase has a div interrupting the run, which gets 1.12 + removed, hopefully making it look like this reference case.) 1.13 +--> 1.14 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.15 + <head> 1.16 + <style> 1.17 + div { height: 100px; } 1.18 + div.flexbox { 1.19 + width: 200px; 1.20 + display: flex; 1.21 + } 1.22 + div.a { 1.23 + flex: 1 0 20px; 1.24 + background: lightgreen; 1.25 + } 1.26 + div.inflex { 1.27 + flex: 0 0 20px; 1.28 + background: gray; 1.29 + } 1.30 + </style> 1.31 + </head> 1.32 + <body> 1.33 + <div class="flexbox" 1.34 + ><div class="a"/>text<i>italic</i 1.35 + ><div class="inflex"/></div> 1.36 + </body> 1.37 +</html>