servo/tests/html/incremental_inline_line_flush_mode.html
Patrick Walton 8741d9e8c4 layout: Use a flag to record whether we need to perform a line break if
wrapping on newlines rather than searching for a newline character.

Since the newline character might have been stripped out during
whitespace stripping, this was incorrect.

Fixes the "jumpiness" seen on the Google home page, Wikipedia, and many
other places.
2015-04-24 13:16:34 -07:00

6 lines
244 B
HTML

<!DOCTYPE html>
<!-- This will become "jumpy" when mousing over "Bar" if trailing newlines are stripped from
fragments during inline layout. -->
<table><td><div style="white-space: pre">
Foo</div></td><td><a href="/">Bar</a></td></table>