[wpt-sync] Sync PR 58028 - [Fonts] Fix Font matching after font-style & font-stretch updates
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| 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}
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
| Assignee | ||
Comment 2•9 months ago
|
||
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
Details
New Tests That Don't Pass
- /css/css-font-loading/fontface-descriptor-updates-2.html [wpt.fyi]
- Font matching uses updated style and family name:
FAIL(Chrome:FAIL, Safari:PASS)
- Font matching uses updated style and family name:
Comment 4•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3bcd9a3bce38
https://hg.mozilla.org/mozilla-central/rev/d918351c4b8a
Description
•