commit | 1b475ea2b7dec58b5f7865a4819cbb103bc6c40a | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon Jun 17 18:51:33 2019 |
committer | Koji Ishii <kojii@chromium.org> | Mon Jun 17 18:51:33 2019 |
tree | bfeef6af0ad1ab590d46228dc5c2df4f73fcfb88 | |
parent | 73480104f187c96bb69b9b4a103027a9cfb8e333 [diff] |
Merge 3809: [LayoutNG] Fix float + nbsp to create a break opportunity Floats should create break opportunities, and |NGLineBreaker::Rewind()| assumes this. However, |nbsp| after floats suppressed the break opportunity, which caused NGLineBreaker to loop infinitely under certain conditions. This patch fixes floats to allow break after them. Note the new behavior is the same as Gecko. (cherry picked from commit 7b1e6a920eb103abedf45c95f5d86dda52d8713c) Bug: 972421 Change-Id: Ie8c1d7927c5c282078a20f90941398149ea702a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1653171 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#668681} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660076 Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/branch-heads/3809@{#362} Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .