[text-box-trim] Fix when line-clamp
is applied
This patch fixes the text-box-trim
behavior when
line-clamp
or -webkit-line-clamp
is applied.
All changes are under a runtime flag enabled only for testing.
Bug: 40254880
Change-Id: Ib8ead4e083b727a3be3c6b36ae5cc42f85ba01f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5606785
Auto-Submit: Koji Ishii kojii@chromium.org
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Kent Tamura tkent@chromium.org
Cr-Commit-Position: refs/heads/main@{#1311806}