commit | fd91d711b6669f62e4ffc3dce21e6ae88ab16caf | [log] [tgz] |
---|---|---|
author | Xiaocheng Hu <xiaochengh@chromium.org> | Tue Feb 05 00:06:33 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 05 00:06:33 2019 |
tree | 69c917f6d2a6e0f5b6c787fa8c552ea3197d5ca6 | |
parent | 640f6c51a46ed30f74a6ab4db6e0372211aa956c [diff] |
[LayoutNG] Work around the crash with 'text-transform' on ::first-letter 'text-transform' may make LayoutText::GetText() longer than the original DOM text node, and result in out-of-range offsets that are not properly handled. This patch works around that in one of the crash sites so that it doesn't crash. Bug: 923446 Change-Id: Iadf7d3ee1e9dc5ac03f181cd3f37d11d65bca1fc Reviewed-on: https://chromium-review.googlesource.com/c/1450737 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#628952}
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 .