Closed Bug 2055988 Opened 5 days ago Closed 1 day ago

[wpt-sync] Sync PR 61382 - script: Mark document tree as dirty when web fonts are removed

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Simon Wülker <simon.wuelker@arcor.de> wrote:

script: Mark document tree as dirty when web fonts are removed

We already do this for when web fonts load, but not when existing @font-face rules are removed:
https://github.com/servo/servo/blob/1180606311f21580205750b5afab2e783d443c69/components/script/script_thread.rs#L3337-L3346

Testing: ???
Fixes https://github.com/servo/servo/issues/46372
Reviewed in servo/servo#46568

Component: web-platform-tests → Layout: Text and Fonts
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://github.com/mozilla-firefox/firefox/commit/d3bc5507a4ab https://hg.mozilla.org/integration/autoland/rev/d8b8db284b48 [wpt PR 61382] - script: Mark document tree as dirty when web fonts are removed, a=testonly
Status: NEW → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.