Clipboard API and Events
Required for any 'Copy to clipboard' button, paste-from-image, or rich text editing. The async API requires user gesture and permissions — understanding the security model prevents frustrating clipboard failures.
What It Defines
Defines the async Clipboard API (navigator.clipboard.read/write) for programmatic clipboard access with rich types (text, HTML, images, custom formats). Also defines clipboard events (copy, cut, paste) and the DataTransfer model. Replaces the deprecated document.execCommand('copy').
Canonical (Normative)
Convenient (Practical)
Publishes web platform specs including CSS, accessibility, security policies, Service Workers, Web App Manifest, and many browser APIs. Also maintains some versioned HTML/DOM specs.
Related Specs
Every frontend framework (React, Vue, Svelte) ultimately produces DOM operations. Understanding the event model and tree structure prevents subtle bugs.
The spec behind every HTML page, form, and browser API. The canonical reference for how browsers actually parse and process HTML.