<!DOCTYPE html>
<meta charset="utf-8">
<title>contain-intrinsic-width: auto length in vertical writing mode</title>
<link rel="author" title="Rob Buis" href="mailto:rbuis@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
<meta name="assert" content="Tests that 'contain-intrinsic-width: auto length' respects the auto keyword in vertical writing mode">

<style>
#target {
  width: max-content;
  height: max-content;
}
.cis-auto {
  contain-intrinsic-width: aut