1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/flexbox-inlinecontent-horiz-4.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 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 verifies that a flex container which only contains text 1.11 + will render correctly. We use justify-content to position the text 1.12 + in the center of the flex container, as a sanity-check to be sure we 1.13 + are in fact getting a flex container. 1.14 +--> 1.15 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.16 + <head> 1.17 + <style> 1.18 + div.flexbox { 1.19 + width: 200px; 1.20 + height: 100px; 1.21 + background: lightgreen; 1.22 + justify-content: center; 1.23 + display: flex; 1.24 + } 1.25 + </style> 1.26 + </head> 1.27 + <body> 1.28 + <div class="flexbox">text</div> 1.29 + </body> 1.30 +</html>