servo/tests/ref/whitespace_nowrap_line_breaking_ref.html
Patrick Walton 11fdb503df layout: Introduce infrastructure for tracking, backing up, and splitting
at the last known good split point, and use it for `white-space:
nowrap`.

Fixes overflowing tables on Wikipedia.

This infrastructure should form the basis of our fix for inline layout
of fragments that don't themselves constitute valid split points. That
will require some more work, however.
2015-08-08 00:01:31 -07:00

31 lines
447 B
HTML

<!DOCTYPE html>
<style>
body, html {
margin: 0;
}
em {
white-space: nowrap;
}
section {
background: gold;
width: 300px;
}
#cover {
background: white;
position: absolute;
top: 0;
left: 300px;
right: 0;
bottom: 0;
}
</style>
<section>
<em>Daniel Dennett</em>
<em>Michael Tye</em>
<em>David Chalmers</em>
<em>Patricia Churchland</em>
<em>Colin McGinn</em>
</section>
<div id=cover>
</div>