Sign in
webkit
/
WebKit
/
63c63479e42d5d7cd9e5c20fa3c0adb62aed122e
/
.
/
LayoutTests
/
fast
/
block
/
basic
/
child-block-level-box-with-height-percent.html
blob: 2037cf4a5086435aabfdf290bcc395ace05d0ccd [
file
] [
log
] [
blame
]
<style>
#
main
{
width
:
300px
;
height
:
300px
;
}
#
nested
{
border
:
1px
solid red
;
display
:
block
;
height
:
50%
;
width
:
50%
;
}
</style>
<div
id
=
main
>
block level box with
<div
id
=
nested
>
height
</div>
percent when containing block has fixed height.
</div>