Closed Bug 1773205 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 34343 - SVG Text NG: Improve performance on ancestor scaling changes

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
103 Branch
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: If79a8227394e74b2453cce008ef4513d91a04fb6

Reviewed-on: https://chromium-review.googlesource.com/3692652
WPT-Export-Revision: f1c40932add2eb5034c05e8152b26d5fdce0e1d8

Component: web-platform-tests → SVG
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f635ef5cebe5 [wpt PR 34343] - SVG Text NG: Improve performance on ancestor scaling changes, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.