haikuwebkit/LayoutTests/fast/css/viewport-percentage-compute...

9 lines
344 B
HTML

<!DOCTYPE html>
<html>
<body>
<p>The width of innerdiv should be 50% of the width of the outerdiv.</p>
<div id="outer" style="height: 300px; width: 50vw; background-color: lightcyan;">
<div id="inner" style="width: 50%; height: 50%; background-color: lightseagreen;"></div>
</div>
</body>
</html>