Some monorail pages fail to load fully when using LayoutNG |
|||
Issue descriptionChrome Version: 70.0.3538.102 (Official Build) (64-bit) OS: Linux What steps will reproduce the problem? (1) Go to https://bugs.chromium.org/p/chromium/issues/approval?id=902400 (Googler's only) (2) Observe that there is no description or comments. For some reason they are failing to load. What is the expected result? The page should fully load and bug description and comments should be visible. What happens instead? Comments never load, eventually Chrome asks if I want to kill the tab. Notes If I turn off layout NG everything works. This only happens for some monorail pages using the new issue UI designer for FLT. But not all. I have no idea what's special about the ones that break.
,
Nov 12
,
Nov 20
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/40525a189cfe4f55ac5e066f0035a429b6e9eb96 commit 40525a189cfe4f55ac5e066f0035a429b6e9eb96 Author: Koji Ishii <kojii@chromium.org> Date: Tue Nov 20 15:16:06 2018 [LayoutNG] Fix line breaker when spaces are across elements This patch fixes NGLineBreaker not to freeze when all of the following conditions met: * 'word-wrap: break-word' is set. * 'whitespace: pre-wrap' is set. * Two or more adjacent preserved spaces are split to two or more elements, and is the last space to fit in the line. e.g., <div style="whitespace: pre-wrap; word-break: break-word"> <span>xxx <span> yyyy </div> and "yyyy" does not fit. We need to handle trailing spaces not only when spaces follow a break opportunity but also spaces are after spaces. Bug: 903909 Change-Id: Ie4346a670ec22d35cca3a290b9a423161537e4e8 Reviewed-on: https://chromium-review.googlesource.com/c/1343466 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#609709} [modify] https://crrev.com/40525a189cfe4f55ac5e066f0035a429b6e9eb96/third_party/blink/renderer/core/layout/ng/inline/ng_line_breaker.cc [modify] https://crrev.com/40525a189cfe4f55ac5e066f0035a429b6e9eb96/third_party/blink/renderer/core/layout/ng/inline/ng_line_breaker_test.cc
,
Nov 20
Thank you for reporting the problem to us! |
|||
►
Sign in to add a comment |
|||
Comment 1 by mstensho@chromium.org
, Nov 12Status: Assigned (was: Untriaged)