v150 · CSS Fonts · WebIDL
Dynamic Font Loader
Add, inspect, and remove FontFace objects from document.fonts programmatically. The table reflects the live state of the FontFaceSet, using the Set-like interface methods and the FontFaceSet.ready promise. Chrome 150 makes instanceof FontFaceSet work because window.FontFaceSet is now exposed.
Add a font to document.fonts
family
weight
style
status
action
No fonts added yet — fonts added here will appear in this table
// Ready. document.fonts.size =
see also
- Set-like Iteration Demo — forEach, values, keys, entries
- FontFaceSet Probe — identity and constructor checks
- Prototype Inspector — prototype chain and own properties
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗