layout/reftests/w3c-css/submitted/flexbox/flexbox-root-node-1a.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <!-- This testcase checks that we correctly handle 'display:flex' property on
     7      the root <html> element, with the <body> as the sole flex item. -->
     8 <html style="display: flex; justify-content: center">
     9 <head>
    10   <title>CSS Test: Testing 'display:flex' on root node</title>
    11   <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    12   <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-containers">
    13   <link rel="match" href="flexbox-root-node-1-ref.html">
    14   <style>
    15     html {
    16       display: flex;
    17       justify-content: center;
    18     }
    19   </style>
    20 </head>
    21 <body>
    22   centered
    23 </body>
    24 </html>

mercurial