haikuwebkit/LayoutTests/fast/layoutformattingcontext/block-only/absolute-width-shrink-to-fi...

23 lines
977 B
HTML

<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<html>
<body>
<div style="position: absolute; width: auto; height: 100px; padding: 10px">
<div style="width: 100px; height: 20px;"></div>
</div>
<div style="position: absolute; left: 100px; width: auto; height: 100px; padding: 10px">
<div style="width: 100px; height: 20px;"></div>
<div style="width: 100px; height: 20px;"></div>
</div>
<div style="position: absolute; left: 100px; width: auto; height: 100px; padding: 10px">
<div style="width: 200px; height: 20px;">
<div style="padding: 5px; maring: 10px; width: 100px; height: 20px;"></div>
</div>
</div>
<div style="position: absolute; right: 100px; width: auto; height: 100px; padding: 10px">
<div style="width: 200px; height: 20px;">
<div style="margin: 15px; padding-left: 5px; width: 100px; height: 20px;"></div>
</div>
</div>
</body>
</html>