commit | dae005d6f08835613c1e3c9ec39c370625b6236b | [log] [tgz] |
---|---|---|
author | Emil A Eklund <eae@chromium.org> | Wed May 15 00:09:06 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 15 00:09:06 2019 |
tree | 555bb9b01db65c68e0adc18c65f0dbf5bcd9693f | |
parent | 68d2ad49d1979ae00994970c0240ed7d931cc9b5 [diff] |
[LayoutNG] Handle ellipsis for empty vertical-rl Fix bug in NGLineTruncator::TruncateChild where it incorrectly assumes a fragment always has content. This isn't always the case, especially when obscure -webkit features are used. This change adds an extra null check. Not using a WPT test as the test case replies on impl specific behavior. Bug: 962297, 962471 Change-Id: I87ac7841a93303802aa2028e0ee04aaa9ab0961d Test: web_tests/fast/text/empty-ellipsis-vertical-rl-crash.html Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612224 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#659740}
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 .