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.
This commit is contained in:
Patrick Walton 2015-08-06 17:51:57 -07:00
parent af4e0a246a
commit 11fdb503df
5 changed files with 134 additions and 14 deletions

View file

@ -352,6 +352,7 @@ experimental == viewport_rule.html viewport_rule_ref.html
== webgl-context/draw_arrays_simple.html webgl-context/draw_arrays_simple_ref.html
== whitespace_nowrap_a.html whitespace_nowrap_ref.html
== whitespace_nowrap_line_breaking_a.html whitespace_nowrap_line_breaking_ref.html
== whitespace_pre.html whitespace_pre_ref.html
== width_nonreplaced_block_simple_a.html width_nonreplaced_block_simple_b.html
== word_break_a.html word_break_ref.html