16 lines
363 B
HTML
16 lines
363 B
HTML
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
|
|
<style>
|
|
.container {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: red;
|
|
}
|
|
.inner {
|
|
width: 100px;
|
|
height: 500px;
|
|
max-height: 100%;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<div class=container><span><div class=inner></div></span></div>
|