Skip to content

Commit 0d92a99

Browse files
committed
[css-font-loading] Return false from delete() with a CSS-connected font-face.
1 parent d053e03 commit 0d92a99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

css-font-loading/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,8 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
968968
and throw an {{InvalidModificationError}}.
969969

970970
When a {{FontFaceSet}} object's {{FontFaceSet/delete()}} method is called with a <a>CSS-connected</a> {{FontFace}} object,
971-
the operation must be a no-op.
971+
the operation must be a no-op,
972+
and return <code class="lang-javascript">false</code>.
972973

973974
Note: Authors can still maintain references to a removed {{FontFace}},
974975
even if it's been automatically removed from a <a>font source</a>.

0 commit comments

Comments
 (0)