<!DOCTYPE html> | |
<style> | |
div { | |
font: 20px/1 Ahem; | |
width: 1em; | |
} | |
span { | |
color: lime; | |
background: lime; | |
} | |
.normal { | |
white-space: normal; | |
} | |
</style> | |
This test passes if there is a green square below. It tests that collapsed trailing space at the end of | |
an inline setting white-space:nowrap can be collapsed with the space before the next inline and also | |
that it can find the breaking opportunity between the two nowrap inlines.<br> | |
<div> | |
<span>xx</span> | |
<span>xx</span> | |
</div> |