css-feature-toggle-devtools-extension
css-feature-toggle-devtools-extension copied to clipboard
Clear fonts loaded with the Font Loading API
trafficstars
Some font loading techniques use the Font Loading API alongside @font-face and/or <link>. In these cases, disabling the @font-face declaration doesn't prevent the font from rendering.
More information is available in #6, particularly this comment.
This should be a case of calling document.fonts.clear() at the appropriate time, however investigation is required to understand the impact this will have on a document when the toggle is disabled.