| <!DOCTYPE html> | |
| <style> | |
| div { | |
| font: 1em/1 Ahem; | |
| width: 1em; | |
| } | |
| span { | |
| color: lime; | |
| background: lime; | |
| } | |
| .normal { | |
| white-space: normal; | |
| } | |
| .pre { | |
| white-space: pre; | |
| } | |
| </style> | |
| This test passes if there is a green horizontal line below. It tests that a break | |
| is not introduced just because an inline with white-space:pre ends in whitespace.<br> | |
| <div class="pre"><span>xxxx xxxx</span></div> |