| OLD | NEW | 
|   1 <style> |   1 <style> | 
|   2 body { |   2 body { | 
|   3   margin-right: 100%; |   3   margin-right: 100%; | 
|   4 } |   4 } | 
|   5 .normal { |   5 .normal { | 
|   6   padding-left: 1px; |   6   padding-left: 1px; | 
|   7   white-space: normal; |   7   white-space: normal; | 
|   8   word-wrap: break-word; |   8   word-wrap: break-word; | 
|   9 } |   9 } | 
|  10 .pre { |  10 .pre { | 
|  11   white-space: pre; |  11   white-space: pre; | 
|  12 } |  12 } | 
|  13 </style> |  13 </style> | 
|  14 <div class="pre"><span class="normal"> |  14 <div class="pre"><span class="normal"> | 
|  15 This test passes if it does not CRASH.</span></div> |  15 This test passes if it does not CRASH.</span></div> | 
|  16 <script> |  16 <script> | 
|  17 // Tests a case where an inline element that sets white-space:normal nested |  17 // Tests a case where an inline element that sets white-space:normal nested | 
|  18 // in a block that sets white-space:pre works correctly when there is a |  18 // in a block that sets white-space:pre works correctly when there is a | 
|  19 // line break at the start of the inline element. |  19 // line break at the start of the inline element. | 
|  20 if (window.testRunner) |  20 if (window.testRunner) | 
|  21     testRunner.dumpAsText(); |  21     testRunner.dumpAsText(); | 
|  22 </script> |  22 </script> | 
| OLD | NEW |