[wpt-sync] Sync PR 34343 - SVG Text NG: Improve performance on ancestor scaling changes
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox103 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 34343 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34343
Details from upstream follow.
Kent Tamura <tkent@chromium.org> wrote:
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: If79a8227394e74b2453cce008ef4513d91a04fb6Reviewed-on: https://chromium-review.googlesource.com/3692652
WPT-Export-Revision: f1c40932add2eb5034c05e8152b26d5fdce0e1d8
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Comment 4•4 years ago
|
||
| bugherder | ||
Description
•