Search correctly for inline ancestors without a sibling when dirtying lineboxes

Desktop / Chromium - robhogan [gmail.com] - 19 April 2017 15:00 EDT

Fixes a mistake in https://codereview.chromium.org/2486423003 - it should have checked whether the current child has a previous sibling, not the candidate parent.

Also revert to the original version of the two tests - as the new versions never fail.

BUG=695378

Review-Url: https://codereview.chromium.org/2828553002 Cr-Commit-Position: refs/heads/master@{#465686}

c7a0755 Search correctly for inline ancestors without a sibling when dirtying lineboxes
...line-when-adjacent-to-line-breaks-2-expected.html | 6 +++---
...ld-dirty-line-when-adjacent-to-line-breaks-2.html | 5 ++---
...y-line-when-adjacent-to-line-breaks-expected.html | 6 +++---
...ould-dirty-line-when-adjacent-to-line-breaks.html | 5 ++---
.../WebKit/Source/core/layout/line/LineBoxList.cpp | 20 +++++++++++---------
5 files changed, 21 insertions(+), 21 deletions(-)

Upstream: git.chromium.org


  • Share