Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 7 revisions

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

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally