<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head><meta charset="UTF-8">
  <title>Reference: display:contents with orthogonal writing-mode</title>
  <style type="text/css">

div { display:inline-block; }

span {
  width: 0;
  border: 1px solid;
}

  </style>
</head>
<body>
<div style="display:inline-block"><span>a b c</span></div>
</body>
</html>