| <!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 an | |
| inline setting white-space:normal does allow word breaking just because it | |
| is nested in a block setting white-space:pre.<br> | |
| <div class="pre"><span class="normal">xxxxxxxxxxxxxxxxxx</span></div> |