1
0
Fork 0
firefox/testing/web-platform/tests/css/css-writing-modes/orthogonal-containing-block-height-changes.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
585 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-writing-modes/">
<link rel="match" href="orthogonal-containing-block-height-changes-ref.html">
<meta name="assert" content="orthogonal child box should get resized when containing block content box shrinks">
<style>
#container {
height: 100px;
box-sizing: border-box;
}
.child {
writing-mode: vertical-rl;
width: 50px;
height: 100%;
background-color: green;
}
</style>
<div id=container>
<div class=child></div>
</div>
<script>
document.body.offsetTop;
container.style.paddingBottom = "50px";
</script>