  color: transparent;
}
.test {
  background: green;
  color: transparent;
  width: min-content;

  word-break: keep-all;
  overflow-wrap: break-word;
}
</style>
<body>
  <p>Test passes if there is a green box below and no red.
  <div id=red>XXXX</div>
  <div class="test">XXXX</div>
</body>
