[wpt-sync] Sync PR 42368 - Fallback-url-to-local.html passes in an unintended way.
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42368 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42368
Details from upstream follow.
ChangSeok Oh <changseok.oh@bytedance.com> wrote:
Fallback-url-to-local.html passes in an unintended way.
I found Blink passed the fallback-url-to-local.html test in an
unexpected way while investigating issue 1416842 [1]. It passes the test
by returning false at the end of FontFaceSet::check() instead of doing
false due to the failure of CheckFont() [2] above. This is because the
remote-font in the test is never resolved due to a parsing error caused
by the query part of the font-face src address. We can fix it by
stringifying the address and make Gecko and WebKit happy with the
assert_false test.[1] https://crbug.com/1416842
[2] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/font_face_set.cc;drc=9ed4a90ee6aeaa3c1911d229dec6317d8fe8260d;l=251Test: external/wpt/css/css-fonts/fallback-url-to-local.html
Bug: 1416842
Change-Id: Id158ec75273518929c8967a5b1e157f04d48dd81Reviewed-on: https://chromium-review.googlesource.com/4917071
WPT-Export-Revision: 76c4569b9e7484ce35e2fc94966933a9a642706b
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
| bugherder | ||
Description
•