blob: c726b970e4fe65a73fa052788490f96fad37fe31 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<html>
<head>
<style>
div {
border: 1px solid green;
}
div > div {
border: 1px solid red;
}
</style>
</head>
<body>
<div style="width: 200px;">
<div style="width: 200px; height: 50px"></div>
</div>
<div style="width: 200px; max-height: 50px;">
<div style="height: 200px; width: 200px;"></div>
</div>
<div style="width: 200px; min-height: 300px">
<div style="height: 50px; width: 200px;"></div>
</div>
</body>
</html>