| <!DOCTYPE html> | |
| <style> | |
| div { | |
| font: 1em/1 Ahem; | |
| width: 1em; | |
| } | |
| span { | |
| color: lime; | |
| background: lime; | |
| } | |
| .normal { | |
| white-space: normal; | |
| } | |
| .pre { | |
| white-space: pre; | |
| } | |
| .nowrap { | |
| white-space: nowrap; | |
| } | |
| </style> | |
| This test passes if there is a green square below. It tests that whitespace at the end of | |
| an inline setting white-space:nowrap can be collapsed with a break at the start of the | |
| next inline.<br> | |
| <div class="pre"><span class="nowrap">xx </span><span class="normal"> xx</span></div> |