gecko/layout/reftests/flexbox/flexbox-basic-fieldset-horiz-2.xhtml

33 lines
752 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 test checks that fieldset elements' default "min-width: auto" property
is handled correctly (i.e. isn't influenced by the "width" property).
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
div.flexbox {
height: 50px;
width: 50px;
border: 2px dotted black;
display: flex;
}
fieldset {
width: 1000px;
height: 50px;
background: purple;
border: 1px dotted green;
}
</style>
</head>
<body>
<div class="flexbox">
<fieldset/>
</div>
</body>
</html>