23 lines
431 B
HTML
23 lines
431 B
HTML
<!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 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>xx
|
|
xx</span></div>
|