Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<title> Ensure block size is same as height of inner div for orthogonal writing mode </title>
<style>
div {
inset: 0;
background-color: black;
writing-mode: vertical-rl;
position: absolute;
block-size: 200px;
inline-size: 100px;
border: 5px solid red;
}
</style>
<div></div>