Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SVG Text NG: Improve performance on ancestor scaling changes
Don't re-layout <text> by scaling changes, and re-layout <text> on other later changes. When an ancestor changes scaling, we set needs_text_metrics_update_ flag of descendant <text>s, instead of setting NeedsLayout flag. After that, if style of a descendant element of a <text> is updated, we set NeedsLayout regardless of updated property type. Bug: 1296089 Change-Id: If79a8227394e74b2453cce008ef4513d91a04fb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3692652 Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1011855}
- Loading branch information