Patch set 4:Commit-Queue +1
1 comment:
Patchset:
Ian, PTAL, esp. exclusions logic, I don't have strong confidence on that part.
To view, visit change 4603613. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ian Kilpatrick.
Koji Ishii would like Ian Kilpatrick to review this change.
[text-wrap-pretty] Add `NGLineWidths`
This patch adds a class that computes the line width of each
line for an `NGInlineNode`. This class is a preparation to
support simple floating objects for `text-wrap: pretty`.
Currently, this class supports:
* Up to single exclusion.
* Inline content is simple; it must be rendered using single
font, without non-initial `vertical-align`.
This patch has no behavior changes as the changes are called
only from unit tests. It will be used in following patches.
Bug: 1432798
Change-Id: I7f7d526d9659fa3cdffad210ccebd4f454e50b6f
---
M third_party/blink/renderer/core/layout/build.gni
M third_party/blink/renderer/core/layout/ng/inline/ng_inline_layout_algorithm.h
A third_party/blink/renderer/core/layout/ng/inline/ng_line_widths.cc
A third_party/blink/renderer/core/layout/ng/inline/ng_line_widths.h
A third_party/blink/renderer/core/layout/ng/inline/ng_line_widths_test.cc
M third_party/blink/renderer/platform/fonts/shaping/shape_result.cc
M third_party/blink/renderer/platform/fonts/shaping/shape_result.h
7 files changed, 326 insertions(+), 0 deletions(-)
Attention is currently required from: Ian Kilpatrick.
1 comment:
Patchset:
Ian, can you PTAL, esp. exclusions logic? I don't have strong confidence on that part.
To view, visit change 4603613. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Koji Ishii.
To view, visit change 4603613. To unsubscribe, or for help writing mail filters, visit settings.
To view, visit change 4603613. To unsubscribe, or for help writing mail filters, visit settings.
Chromium LUCI CQ submitted this change.
[text-wrap-pretty] Add `NGLineWidths`
This patch adds a class that computes the line width of each
line for an `NGInlineNode`. This class is a preparation to
support simple floating objects for `text-wrap: pretty`.
Currently, this class supports:
* Up to single exclusion.
* Inline content is simple; it must be rendered using single
font, without non-initial `vertical-align`.
This patch has no behavior changes as the changes are called
only from unit tests. It will be used in following patches.
Bug: 1432798
Change-Id: I7f7d526d9659fa3cdffad210ccebd4f454e50b6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4603613
Reviewed-by: Ian Kilpatrick <ikilp...@chromium.org>
Commit-Queue: Koji Ishii <ko...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1156703}
---
M third_party/blink/renderer/core/layout/build.gni
M third_party/blink/renderer/core/layout/ng/inline/ng_inline_layout_algorithm.h
A third_party/blink/renderer/core/layout/ng/inline/ng_line_widths.cc
A third_party/blink/renderer/core/layout/ng/inline/ng_line_widths.h
A third_party/blink/renderer/core/layout/ng/inline/ng_line_widths_test.cc
M third_party/blink/renderer/platform/fonts/shaping/shape_result.cc
M third_party/blink/renderer/platform/fonts/shaping/shape_result.h
7 files changed, 333 insertions(+), 0 deletions(-)