gecko/layout/reftests/flexbox/flexbox-inlinecontent-horiz-6-ref.xhtml

40 lines
918 B
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!--
This reference case is like its testcase, but with an explicit div
in the place where we expect an anonymous flex item to be generated
in the testcase.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
div.flexbox {
width: 200px;
height: 100px;
display: flex;
justify-content: space-around;
border: 1px dotted black;
}
div.a {
width: 30px;
height: 50px;
background: lightgreen;
}
div.b {
width: 40px;
height: 50px;
background: blue;
}
</style>
</head>
<body>
<div class="flexbox">
<div><span>abc<div class="a"/>def</span></div>
<div class="b"/>
</div>
</body>
</html>