← Back to release summary

CSS Font Loading API - FontFaceSet interface

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 48)
Intent stage
None

Summary

Update FontFaceSet to confirm the latest spec. Now, FontFaceSet behaves as setlike<FontFace> with entries(), keys(), values(), and iterator. (crbug.com/392075) Also add() and remove() are changed not to throw InvalidModificationError on handling CSS-connected FontFaces. (crbug.com/510346)

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet

Samples: https://googlechrome.github.io/samples/font-face-set/index.html

View on chromestatus.com