19 lines
378 B
HTML
19 lines
378 B
HTML
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
|
|
<style>
|
|
.outer {
|
|
float: left;
|
|
width: auto;
|
|
height: 100px;
|
|
background-color: green;
|
|
}
|
|
|
|
.inner {
|
|
width: 100px;
|
|
height: 10px;
|
|
background-color: red;
|
|
padding: 10px;
|
|
max-width: 50px;
|
|
min-width: 30px;
|
|
}
|
|
</style>
|
|
<div class=outer><div class=inner></div></div> |