[css-contain] Fix regression on LayoutText::SetText() optimization
This is a revert of the change we did in r607786, on that patch we applied the optimization if the text doesn't wrap. However that was causing some weird issues related to overflow not being repainted as expected in some situations. Preventing people to use this optimization for real. This patch reverts that change, so the optimization will now be used in less cases, but won't cause issues. This only affects legacy layout. BUG=985723 TEST=fast/css/containment/change-text-node-data-nowrap.html Change-Id: Ibbfde6b570ea760025f371448774988b9f7694f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489503Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Manuel Rego <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#819487}
Showing
Please register or sign in to comment