no link warnings - speced/respec GitHub Wiki

no-link-warnings (class)

Adding class="no-link-warnings" to a <pre class="idl"> block suppresses warnings about unlinked or undefined IDL terms within that block.

Usage

<pre class="idl no-link-warnings">
dictionary PointerEventInit : MouseEventInit {
  long pointerId = 0;
  double width = 1;
};
</pre>

Notes

  • ⚠️ Use sparingly. Suppressing link warnings can hide real issues — missing definitions, broken xrefs, or IDL that should be linked.
  • The main use case is when a dictionary and interface share the same attribute names and the dictionary members intentionally don't have separate definitions (they inherit the interface member's semantics)
  • Prefer writing definitions and proper xrefs over suppressing warnings
⚠️ **GitHub.com Fallback** ⚠️