FontFaceSet.check() needs to react to style changes
Created attachment 437232 [details] Patch
Comment on attachment 437232 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437232&action=review > LayoutTests/fast/text/FontFaceSet-check-after-style-update.html:24 > +document.fonts.values().next().value.load(); This should be just "fonts.values().next().value.load()".
Created attachment 437234 [details] Patch
Comment on attachment 437234 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437234&action=review Should we / can we have a font resource that never get's cached (e.g. sets the right headers) to avoid the need to invalidate? > Source/WebCore/css/FontFaceSet.cpp:186 > + auto protect = m_backing; Like the other patch, I would change this to: Ref protect = m_backing; (assuming that compiles).
Committed r282016 (241321@main): <https://commits.webkit.org/241321@main>
<rdar://problem/82735822>