Source code

Revision control

Copy as Markdown

Other Tools

<!--
Any copyright is dedicated to the Public Domain.
-->
<!-- Helper-file for reftest flexbox-resizeviewport-2.xhtml
I'm intentionally using quirks-mode (no doctype), so that
a 100% width (block-size) will work. -->
<html>
<head>
<style>
html { writing-mode: vertical-rl; }
div.flexbox {
display: flex;
width: 100%;
border: 2px dashed black;
}
div.a {
flex: 1;
background: pink;
}
div.b {
flex: 1;
background: teal;
}
</style>
</head>
<body>
<div class="flexbox">
<div class="a"></div><div class="b"></div>
</div>
</body>
</html>