mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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.
6 lines
244 B
HTML
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>
|
|
|