Closed Bug 2019181 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 58028 - [Fonts] Fix Font matching after font-style & font-stretch updates

Categories

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

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sejal Anand <sejalanand@microsoft.com> wrote:

[Fonts] Fix Font matching after font-style & font-stretch updates

This is a follow-up to crrev.com/c/7525546, which added font-face cache
invalidation for font-family, font-weight, and unicode-range descriptor
updates.

This CL extends the same invalidation to font-style and font-stretch
descriptor setters so that subsequent font matching reflects the updated
values.

Bug: 41460161
Change-Id: I1496efad7f147b590515b0fc127082ff407b684f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7559912
Reviewed-by: Dominik Röttsches \<drott@chromium.org>
Commit-Queue: Sejal Anand \<sejalanand@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1589923}

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 and 3 subtests

Status Summary

Firefox

OK : 1
PASS: 2
FAIL: 1

Chrome

OK : 1
PASS: 2
FAIL: 1

Safari

OK : 1
PASS: 1
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.