@@ -12,7 +12,7 @@ Editor: Tab Atkins Jr., Google, http://xanthir.com/contact/
1212Former Editor : John Daggett, Mozilla, jdaggett@mozilla.com
1313Abstract : This CSS module describes events and interfaces used for dynamically loading font resources.
1414Link Defaults : css-fonts-3 (descriptor) src, dom-core-ls (interface) Event, typedarray (interface) ArrayBuffer/ArrayBufferView
15- Ignored Terms : domstring, eventinit, cssfontfacerule, eventtarget, workerglobalscope, document, canvasproxy, iterator, unsigned long, set, src, iterator behavior
15+ Ignored Terms : domstring, eventinit, cssfontfacerule, eventtarget, workerglobalscope, document, canvasproxy, iterator, unsigned long, set, src, iterator behavior, InvalidModificationError, add(), delete()
1616</pre>
1717
1818<h2 id="introduction">
@@ -955,6 +955,18 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
955955 must be added or removed from the document's <a>font source</a> ,
956956 and maintain this ordering.
957957
958+ Any manually-added {{FontFace}} objects must be ordered <em> after</em>
959+ the <a>CSS-connected</a> ones.
960+
961+ When a {{FontFaceSet}} object's {{FontFaceSet/add()}} method is called with a <a>CSS-connected</a> {{FontFace}} object,
962+ if the object is already in the set,
963+ the operation must be a no-op;
964+ otherwise, the operation must do nothing,
965+ and throw an {{InvalidModificationError}} .
966+
967+ When a {{FontFaceSet}} object's {{FontFaceSet/delete()}} method is called with a <a>CSS-connected</a> {{FontFace}} object,
968+ the operation must be a no-op.
969+
958970 Note: Authors can still maintain references to a removed {{FontFace}} ,
959971 even if it's been automatically removed from a <a>font source</a> .
960972 As specified in [[#font-face-css-connection]] , though,
0 commit comments