001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<meta name="flags" content="Ahem">
<meta name="assert" content="'overflow-wrap: break-word' applies correctly when there is styled text using 'span' elements.">
<style>
div {
  position: relative;
  font: 25px / 1 Ahem;
}
.ref {
  position: absolute;
  background: green;
  color: red;
  height: 100px;
  z-index: -1;
}
.test {
  color: transparent;
  width: 4ch;
  overflow-wrap: break-word;
}
</style>
<body>
  <p>Test passes if t