1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-root-node-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 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 +<!-- This testcase checks that we correctly handle 'display:flex' property on 1.10 + the root <html> element, with the <body> as the sole flex item. --> 1.11 +<html style="display: flex; justify-content: center"> 1.12 +<head> 1.13 + <title>CSS Test: Testing 'display:flex' on root node</title> 1.14 + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> 1.15 + <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-containers"> 1.16 + <link rel="match" href="flexbox-root-node-1-ref.html"> 1.17 + <style> 1.18 + html { 1.19 + display: flex; 1.20 + justify-content: center; 1.21 + } 1.22 + </style> 1.23 +</head> 1.24 +<body> 1.25 + centered 1.26 +</body> 1.27 +</html>