blob: 567d49ddf80d6c04bb69780817d83e5bdda2cb02 [file] [log] [blame]
<!DOCTYPE html>
<html>
<link href="resources/flexbox.css" rel="stylesheet">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<style>
.flexbox {
background-color: gray;
}
.vertical {
writing-mode: vertical-lr;
width: min-content;
background-color: blue;
}
</style>
<body onload="checkLayout('.flexbox')">
<div id=log></div>
<div class="flexbox" data-expected-height="20">
<div class="vertical" data-expected-width="50" data-expected-height="20">
<div style="width: 50px; height: 20px; background-color: blue;" data-expected-width="50" data-expected-height="20"></div>
</div>
</div>
<div class="flexbox column" data-expected-height="20">
<div class="vertical" data-expected-width="50" data-expected-height="20">
<div style="width: 50px; height: 20px; background-color: blue;" data-expected-width="50" data-expected-height="20"></div>
</div>
</div>