blob: 8f3fad9d06356fbfeefb4e09233f21246d819f63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
--><!-- This testcase checks that we correctly handle 'display:flex' property on
the root <html> element, with the <body> as the sole flex item. --><html style="display: flex; justify-content: center" xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: Testing 'display:flex' on root node</title>
<link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" />
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-containers" rel="help" />
<link href="reference/flexbox-root-node-001-ref.xht" rel="match" />
<style>
html {
display: flex;
justify-content: center;
}
</style>
</head>
<body>
centered
</body></html>
|