<!DOCTYPE html> <meta charset="utf-8"> <link rel="author" title="Myles C. Maxfield" href="mmaxfield@apple.com"> <link rel="help" href="https://drafts.csswg.org/css-font-loading-3/#dom-fontfaceset-delete"> <meta name="assert" content="Ensure that calling delete() with a CSS-connected FontFace has no effect." /> <link rel="match" href="fontfaceset-delete-css-connected-2-ref.html"> <style> @font-face { font-family: "WebFont"; src: url("resources/Rochester.otf") format("opentype"); } </style> <div style="font: 48px 'WebFont';">Hi</div> <script> let fonts = document.fonts; let font = fonts.keys().next().value; fonts.delete(font); </script> </html>