<!DOCTYPE html>
<head>
  <title>CSS Reference: min/max-content size on box-decoration-break:slice inline box with bidi text and white-space:nowrap</title>
  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<style>
html,body {
  color:black; background-color:white; font:10px/1 monospace; padding:0; margin:0;
}

div {
  border: 5px solid blue;
  white-space: pre;
}
.max > div {
  width: -moz-max-content;
  width: -webkit-max-content;
  width: max-content;
}

span {
  border: 2px solid 