wrap-intrinsic-size-bidi-ref.html">
<style>
html,body {
  color:black; background-color:white; font:10px/1 monospace; padding:0; margin:0;
}

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

span {
  border: 2px solid gray;
  padding: 0 10px 0 6px;
  border-width: 0 8px 0 5px;
  margin: 0 4px 0 3px;
  background: 