chromium/third_party/blink/web_tests/external/wpt/css/CSS2/text/word-spacing-characters-001-ref.xht

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
                      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>test reference</title>
  <style type="text/css">
    div {
      margin: 1em;
      font-family: monospace;
      page-break-inside: avoid;
    }
    div p {
      margin: 0;
    }
    .controlcontrol {
      background: orange;
      width: 4em;
    }

    .control span {
      background: blue;
      color: blue;
    }
    .spacer {
      padding-left: 4em;
    }
    .test span {
      background: orange;
      color: orange;
    }
    .ws-pre p {
      white-space: pre;
    }
  </style>
 </head>
 <body>
   <p>In each of the following pairs, the blue and orange bars must have equal lengths.</p>

    <div>
      <p class="control"><span class="spacer"></span>&nbsp;</p>
      <p class="controlcontrol">&nbsp;</p>
    </div>

   <div class="ws-normal">
     <p class="control"><span>A <span class="spacer"></span>B</span></p>
     <p class="test"><span>A <span class="spacer"></span>B</span></p>
   </div>
   <div class="ws-normal">
     <p class="control"><span>A <span class="spacer"></span>B</span></p>
     <p class="test"><span>A <span class="spacer"></span>B</span></p>
   </div>
   <div class="ws-pre">
     <p class="control"><span>A <span class="spacer"></span> <span class="spacer"></span>B</span></p>
     <p class="test"><span>A <span class="spacer"></span> <span class="spacer"></span>B</span></p>
   </div>

   <div class="ws-normal">
     <p class="control"><span>A&nbsp;<span class="spacer"></span>B</span></p>
     <p class="test"><span>A&nbsp;<span class="spacer"></span>B</span></p>
   </div>
   <div class="ws-normal">
     <p class="control"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
     <p class="test"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
   </div>
   <div class="ws-pre">
     <p class="control"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
     <p class="test"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
   </div>

   <div class="ws-normal">
     <p class="control"><span>A&nbsp; &nbsp; <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>B</span></p>
     <p class="test"><span>A&nbsp; &nbsp; <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>B</span></p>
   </div>
   <div class="ws-pre">
     <p class="control"><span>A&nbsp;  &nbsp;  <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>&#09;B</span></p>
     <p class="test"><span>A&nbsp;  &nbsp;  <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>&#09;B</span></p>
   </div>

 </body>
</html>