mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
20 lines
No EOL
884 B
HTML
20 lines
No EOL
884 B
HTML
<!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 no explicit <body>. --><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> |