Closed Bug 2078218 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63274 - [svg] Style reuse (1/3): Record incremental style update blockers

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63274 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63274
Details from upstream follow.

Kurt Catti-Schmidt <kschmi@microsoft.com> wrote:

[svg] Style reuse (1/3): Record incremental style update blockers

MISU (More Incremental Style Updates) allows for incremental style
updates to avoid a full cascade rebuild when the inline style attribute
changes (since that has a higher priority than other CSS rules). This
set of 3 changes (https://crrev.com/c/8142587 and
https://crrev.com/c/8421915) expands this concept to apply to SVG
presentation attributes.

This initial change adds a runtime flag (SvgIncrementalStyle) enabled
for "test", prepares SVG style reuse by recording cascade losses and
style adjustments that make incremental updates unsafe. It also adds
cache metadata to distinguish SVG presentation hints from HTML hints and
consolidates naming. Incremental style comments are updated along with
unit tests to validate the behavior.

Bug: 372750818
Change-Id: I5f6ceeef4bd813e56dc3284403667e4c9c8dabb4
Reviewed-on: https://chromium-review.googlesource.com/8388256
WPT-Export-Revision: 28e92edcb04c06fdd7c3a86c457eabdd71ca45b4

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

CI Results

Ran 8 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 8 tests

Status Summary

Firefox

OK : 1[GitHub] 2[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug]
PASS: 5[GitHub] 6[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 12[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]

Chrome

OK : 1
PASS: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4abd301d0c6d https://hg.mozilla.org/integration/autoland/rev/9d33c1ff227c [wpt PR 63274] - [svg] Style reuse (1/3): Record incremental style update blockers, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.