Fix issues with visual overflow in inline elements for legacy layout
In r727590 there was introduced a regression regarding visual overflow of inline elements in legacy layout. The problem is that inline elements in legacy layout don't recompute the visual overflow, so we still need to mark the element for layout in that case. The fix is basically bringing back the code in LayoutObject::SetStyle() to mark inline elements for layout, including an extra condition for doing it only for legacy layout objects. BUG=1043927 TEST=ParameterizedLayoutInlineTest.VisualOverflowRecalcLegacyLayout Change-Id: I4c5dff4c75c3a9484a52f51fbd85f2b65672de1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025389Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Manuel Rego <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#736422}
Showing
Please register or sign in to comment