<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Test word-spacing and nbsp</title>
        <style type="text/css">
            div {
              word-spacing: 20px;
              float: left;
              border: solid;
              clear: both;
              text-rendering: optimizeLegibility;
            }
        </style>
    </head>
    <body>
        <p>Neither line below should wrap or expand outside the box</p>
        <div>Should &nbsp;not wrap</div>
        <div style="white-space: nowrap;">Should &nbsp;not wrap</div>
  </body>
</html>

