Concepts

130 browser mechanisms and platform primitives, organized by domain.

130 concepts
  1. Rendering Pipeline

    CSS Containment

    The contain property fences off subtrees so style, layout, or paint invalidations never leak to the rest of the document.

    Baseline · Widely1 claim
  2. Rendering Pipeline

    CSS Houdini @property

    @property registers typed custom properties so the CSS engine can interpolate gradients, angles, and colors smoothly.

    Baseline · Newly1 claim
  3. Rendering Pipeline

    CSS Stacking Context

    Hierarchical tree isolating Z-axis paint order. A high z-index remains trapped inside its parent stacking context.

    1 claim
  4. Rendering Pipeline

    DOM & CSSOM Construction

    Byte streams tokenize into DOM and CSSOM trees. Synchronous scripts stall DOM parsing until CSSOM finishes.

    1 claim
  5. Rendering Pipeline

    GPU Compositor Layers and will-change

    Promotion of a DOM subtree to a dedicated GPU texture allowing the Compositor Thread to animate transform and opacity without Layout or Paint.

    1 claim
  6. Rendering Pipeline

    Paint & Rasterization

    Paint records drawing commands into DisplayLists; Rasterization turns those vector commands into GPU-ready bitmap tiles.

    1 claim
  7. Rendering Pipeline

    Render Tree & Layout

    Cut layout thrashing and oversized DOM reflow costs—the Render Tree prunes display: none subtrees before Layout computes exact box geometry.

    1 claim
  8. Rendering Pipeline

    requestAnimationFrame & VSync

    requestAnimationFrame schedules callbacks right before the browser paints the next VSync frame, matching display refresh rates.

    Baseline · Widely1 claim
  9. Rendering Pipeline

    Scroll-Driven Animations

    animation-timeline: scroll() and view() bind CSS and WAAPI animations directly to scroll progress on the Compositor Thread.

    Baseline · Newly1 claim
  10. Rendering Pipeline

    View Transitions API

    document.startViewTransition() snapshots old and new DOM states as rasterized textures and cross-fades or morphs them automatically.

    Baseline · Newly1 claim
  11. Rendering Pipeline

    Web Animations API (WAAPI)

    element.animate() exposes the browser’s native compositor animation engine to JavaScript with pause, reverse, and finished promises.

    Baseline · Widely1 claim
  12. CSS & Layout

    Block Formatting Context (BFC)

    Stop parent-child vertical margin collapse and zero-height float wrappers without clipping shadows—display: flow-root isolates a box's layout region.

    1 claim
  13. CSS & Layout

    CSS :has() Relational Selector

    :has() matches an element based on its descendants or following siblings, eliminating JS parent-class toggling.

    Baseline · Widely1 claim
  14. CSS & Layout

    CSS Anchor Positioning

    anchor-name and anchor() tether popovers and tooltips to trigger elements natively in Layout, including viewport-collision flips.

    Limited availability1 claim
  15. CSS & Layout

    CSS Cascade Layers (@layer)

    Native CSS cascade mechanism allowing explicit stylesheet priority ordering before selector specificity is even evaluated.

    Baseline · Widely1 claim
  16. CSS & Layout

    CSS Container Queries (@container)

    CSS queries evaluating an explicit parent container's dimensions or styles instead of the global viewport, resolved natively during Layout.

    Baseline · Widely1 claim
  17. CSS & Layout

    CSS Custom Properties & Cascade

    Custom properties inherit through the DOM tree and resolve var() at computed-value time, enabling dynamic theming without preprocessor compilation.

    Baseline · Widely1 claim
  18. CSS & Layout

    CSS Grid Track Sizing Algorithm

    Grid resolves tracks in four passes: fixed lengths, intrinsic content bounds, minmax() clamping, and fr free-space distribution.

    Baseline · Widely1 claim
  19. CSS & Layout

    CSS Logical Properties

    Logical properties (inline-start, block-end) map margins, padding, and borders to writing-mode and direction automatically.

    Baseline · Widely1 claim
  20. CSS & Layout

    CSS Nesting & @scope

    Native & nesting desugars to :is() specificity rules, while @scope bounds selector matching between an upper root and lower donut holes.

    Baseline · Widely1 claim
  21. CSS & Layout

    CSS Scroll Snap

    scroll-snap-type and scroll-snap-align lock scroll rest positions to child landmarks on the Compositor Thread without JS timers.

    Baseline · Widely1 claim
  22. CSS & Layout

    CSS Specificity & Inheritance

    Cascade resolves Origin, @layer, (A,B,C) specificity, and source order; inherited properties propagate down only when no rule matches.

    1 claim
  23. CSS & Layout

    CSS Subgrid

    subgrid lets nested grid containers inherit parent row or column tracks so sibling cards align internal headers and footers.

    Baseline · Widely1 claim
  24. CSS & Layout

    Flexbox & Intrinsic Sizing

    Flex items default to min-width: auto, preventing shrink below their min-content size unless min-width: 0 or overflow is set.

    Baseline · Widely1 claim
  25. JS Runtime

    AbortController and Cooperative Cancellation

    Kill-switch for in-flight fetch calls, DOM listeners, and async tasks you should have stopped three renders ago—without boolean isMounted flags.

    Baseline · Widely1 claim
  26. JS Runtime

    ES Modules and Live Bindings

    Eliminate stale circular-import snapshots and unlock static tree-shaking—ESM imports wire read-only indirect pointers into the exporter's ModuleEnvironmentRecord.

    Baseline · Widely1 claim
  27. JS Runtime

    JavaScript Generational Garbage Collection

    Prevent frame-drop GC pauses by understanding V8's Orinoco collector—short-lived objects evacuate between Young Generation semi-spaces while Old Generation marks concurrently.

    1 claim
  28. JS Runtime

    Long Tasks and Interaction to Next Paint (INP)

    Fix sluggish clicks and fail-threshold INP (>200 ms) by breaking >50 ms Long Tasks—Input Delay, Processing Duration, and Presentation Delay all compete on one main thread.

    1 claim
  29. JS Runtime

    Promises and async/await Internals

    Avoid sequential await waterfalls and microtask starvation—async/await compiles to state-machine continuations that park the frame and resume on the Microtask Queue.

    1 claim
  30. JS Runtime

    Prototype Chain Lookup and Delegation

    Prevent V8 Inline Cache deoptimizations and prototype pollution bugs—property reads walk [[Prototype]] links until a descriptor matches or the chain hits null.

    1 claim
  31. JS Runtime

    Proxy Traps and Reflect Internals

    Build fine-grained reactivity without breaking inherited getters—Proxy traps intercept [[Get]]/[[Set]] while Reflect forwards receiver binding, at the cost of bypassing V8 Inline Caches.

    Baseline · Widely1 claim
  32. JS Runtime

    Structured Clone Algorithm

    Deep-copy cyclic JS graphs, Maps, Sets, and Date objects without JSON.stringify data loss—and transfer ArrayBuffers to workers with zero-copy overhead.

    Baseline · Widely1 claim
  33. JS Runtime

    Temporal API and Timezone-Safe Dates

    Eliminate mutable Date bugs, 0-indexed month traps, and DST off-by-one-hour errors—Temporal separates physical Instants from wall-clock PlainDate and ZonedDateTime.

    Limited availability1 claim
  34. JS Runtime

    TypedArrays, ArrayBuffer, and Zero-Copy Transfers

    Contiguous binary buffers (ArrayBuffer) paired with unboxed numeric views (Uint8Array, Float32Array) that transfer across workers in O(1) via ownership handoff.

    Baseline · Widely1 claim
  35. DOM & Events

    <dialog> Element and Native Top Layer

    HTML primitive placing modals in the browser Top Layer above any z-index, with built-in focus management and Escape key handling.

    Baseline · Widely1 claim
  36. DOM & Events

    IntersectionObserver and Asynchronous Visibility

    Eliminate scroll-handler layout thrashing in lazy loading and infinite lists—IntersectionObserver reads cached layout boxes once per frame after Layout.

    Baseline · Widely1 claim
  37. DOM & Events

    MutationObserver and Batched Microtask Delivery

    Replace main-thread-freezing Mutation Events with batched microtask delivery—MutationObserver queues DOM edits silently and flushes MutationRecord[] once after the Call Stack unwinds.

    1 claim
  38. DOM & Events

    Pointer Events, touch-action, and Pointer Capture

    Stop mobile browser scroll from hijacking custom drags and sliders—CSS touch-action negotiates gesture ownership on the compositor while setPointerCapture() locks fast pointer streams.

    Baseline · Widely1 claim
  39. DOM & Events

    Popover API (HTML popover Attribute)

    Declarative HTML attribute rendering menus, tooltips, or toasts in the Top Layer with automatic light-dismiss and zero JavaScript.

    Baseline · Newly1 claim
  40. DOM & Events

    Shadow DOM Encapsulation and Event Retargeting

    Isolate component CSS and DOM trees without iframes—Shadow DOM blocks outer selectors, projects light DOM via <slot>, and retargets bubbling events to the host.

    Baseline · Widely1 claim
  41. DOM & Events

    The Browser Top Layer

    End z-index: 99999 wars and overflow: hidden modal clipping—the Browser Top Layer paints <dialog> and [popover] in a document-level LIFO list above the root stacking context.

    1 claim
  42. DOM & Events

    The inert Attribute and Modal Focus Containment

    Boolean HTML attribute that removes an entire subtree from pointer hit-testing, keyboard focus order, text selection, find-in-page, and the accessibility tree.

    Baseline · Widely1 claim
  43. Network & Performance

    103 Early Hints

    Sends an interim HTTP 103 frame with Link preload headers while the server is still rendering HTML, overlapping subresource fetches with origin think time.

    2 claims
  44. Network & Performance

    Back/Forward Cache (bfcache)

    In-memory cache snapshotting the full JS heap and DOM tree on outbound navigation to restore the page instantaneously on Back/Forward.

    1 claim
  45. Network & Performance

    Brotli & Compression Dictionaries

    Shrinks text payloads 15–25% beyond gzip with Brotli, and turns cached prior bundles into external LZ77 dictionaries so minor releases ship only binary diffs.

    2 claims
  46. Network & Performance

    CDN Edge Cache Keys & Vary

    Determines whether a CDN edge PoP serves a cached response or hits your origin by hashing URL, normalized query params, and Vary headers into a lookup key.

    2 claims
  47. Network & Performance

    Core Web Vitals Mechanics (LCP, INP, CLS)

    Breaks down the three user-centric engine metrics—LCP (<=2.5s), INP (<=200ms), and CLS (<=0.1)—by the exact browser pipeline phases they measure.

    2 claims
  48. Network & Performance

    Font Loading & CLS Mechanics

    Balances Flash of Invisible Text (FOIT) against Cumulative Layout Shift (CLS) using font-display timers, WOFF2 subsetting, and CSS metric overrides.

    2 claims
  49. Network & Performance

    HTTP Caching Directives

    Controls disk and shared cache reuse via Cache-Control, ETag, and Vary headers—separating immutable hashed assets from revalidated HTML documents.

    2 claims
  50. Network & Performance

    HTTP/2 & HTTP/3 Multiplexing

    Interleaves concurrent request frames over one connection; HTTP/3 moves multiplexing to QUIC so packet loss on one stream never stalls sibling assets.

    2 claims
  51. Network & Performance

    PerformanceObserver & RUM Telemetry

    Streams real-user timing entries (LCP, INP, LoAF, resource timing) asynchronously via PerformanceObserver with buffered: true and flushes via sendBeacon.

    2 claims
  52. Network & Performance

    Preload Scanner and fetchpriority Attribute

    Speculative HTML scanner discovering critical resources before JS execution, paired with fetchpriority to reorder the HTTP/2-HTTP/3 queue.

    Baseline · Newly1 claim
  53. Network & Performance

    Responsive Images & Decoding

    Pairs srcset/sizes, intrinsic width/height, fetchpriority, and decoding=async so the preload scanner fetches the right AVIF/WebP candidate and decodes it off the main thread.

    2 claims
  54. Network & Performance

    Service Worker Lifecycle

    Runs an off-thread programmable network proxy through install, waiting, and activate states—ensuring one consistent asset version per open tab.

    Baseline · Widely2 claims
  55. Network & Performance

    Speculation Rules & Prerendering

    Declarative JSON rules that prefetch or fully prerender predicted next navigations in a hidden browsing context, delivering near-instant 0 ms LCP on click.

    Limited availability2 claims
  56. Network & Performance

    Streaming SSR & Progressive Flushing

    Streams the HTML <head> and shell immediately over HTTP/2+ while slow backend queries run, then flushes deferred <template> chunks for out-of-order DOM replacement.

    2 claims
  57. Network & Performance

    WebSockets, SSE, Reconnection Jitter & Consumer Backpressure

    Unbounded WebSocket bursts spike tab memory until OOM, while synchronized reconnects DDoS your own edge servers. Pair ReadableStream backpressure with full-jitter exponential backoff so slow UI consumers throttle sockets safely.

    1 claim
  58. State & Architecture

    Client Storage Versioning & Zero-Downtime Migrations

    Prevents hung IndexedDB upgrades and wiped user drafts during deploys by coordinating schema version bumps across open tabs with onversionchange and expand-and-contract migrations.

    2 claims
  59. State & Architecture

    Debounce, Throttle & rAF Coalescing

    Separates bursty input rates from execution: debounce waits for quietness (API search), throttle caps interval rate (telemetry), and rAF coalescing aligns visual writes to VSync.

    2 claims
  60. State & Architecture

    Finite State Machines for UI

    Replaces overlapping boolean flags (isLoading, isError, isRetrying) with a discriminated union and explicit (state, event) transition table that makes invalid states unrepresentable.

    2 claims
  61. State & Architecture

    Hierarchical Statecharts & UI Actor Model

    Stops state explosion in multi-step wizards and parallel media players by nesting child states, running orthogonal regions, and isolating async work inside spawned UI actors.

    2 claims
  62. State & Architecture

    Local-First Sync & CRDTs

    Persists every edit locally in IndexedDB/OPFS at 0 ms network wait and uses Conflict-free Replicated Data Types (CRDTs) so offline peers merge deterministically.

    2 claims
  63. State & Architecture

    Multi-Tab State Synchronization & Leader Election

    Stops N open browser tabs from hammering WebSockets, refreshing OAuth tokens in parallel, and corrupting IndexedDB by electing a single leader tab with Web Locks and BroadcastChannel.

    2 claims
  64. State & Architecture

    Normalized Entity Graphs vs Document-Keyed Caches

    Prevents stale duplicate records across overlapping views without 40 KB GraphQL client overhead by choosing between flat document-keyed caches and normalized entity graphs.

    2 claims
  65. State & Architecture

    Optimistic UI & Rollback Safety

    Applies speculative UI state immediately on user action while retaining an immutable confirmed snapshot for atomic rollback if the network request fails.

    2 claims
  66. State & Architecture

    Resumability vs Hydration

    Contrasts eager SSR hydration—which replays component trees on the client to attach listeners—with resumability, which serializes state in HTML and loads handlers lazily.

    2 claims
  67. State & Architecture

    Stale Closures in Hooks & Callbacks

    Explains how JavaScript lexical closures snapshot primitive state per render, causing timers, listeners, and suppressed dependency arrays to read outdated values.

    2 claims
  68. State & Architecture

    Undo/Redo & Structural Sharing

    Implements O(1) undo/redo stacks without deep-cloning megabytes of state by copy-on-write cloning only the modified ancestor path and reusing untouched subtree pointers.

    2 claims
  69. State & Architecture

    URL as a State Store

    Persists shareable, reload-safe view state (filters, tabs, pagination) in URLSearchParams—using pushState for discrete steps and replaceState for continuous edits.

    2 claims
  70. State & Architecture

    Virtual DOM & Reconciliation

    Diffs lightweight JS element trees in O(n) using type and key heuristics, batching minimal DOM mutations into a single commit phase.

    2 claims
  71. State & Architecture

    Virtualized Lists & Windowing

    Keeps DOM node count O(1) relative to dataset size by mounting only the rows visible in the scroll viewport plus an overscan buffer inside a full-height spacer.

    2 claims
  72. Web APIs

    Actor-over-Worker Architecture (Off-Main-Thread UI)

    Stop freezing 60fps UI frames with Redux reducers and SQLite queries on the main thread. Isolated Worker actors serialize state mutations behind message mailboxes, keeping the main thread exclusively for DOM commits and input.

    1 claim
  73. Web APIs

    Async Clipboard API and User Activation

    Promise-based OS clipboard access gated by HTTPS, document focus, and transient user activation tokens, supporting deferred Blob resolution via ClipboardItem.

    Baseline · Newly1 claim
  74. Web APIs

    BroadcastChannel and Web Locks API

    Origin-scoped pub/sub messaging and async mutual-exclusion locks coordinated by the browser process across tabs, iframes, and workers.

    Baseline · Widely2 claims
  75. Web APIs

    Dedicated Web Workers and Transferables

    Isolated OS-thread JavaScript runtimes with their own event loop and no DOM access, communicating via structured cloning or zero-copy transferable ownership.

    Baseline · Widely1 claim
  76. Web APIs

    Import Maps & Browser-Native Module Resolution

    Content-hash bundle invalidation forces entire vendor chunks to re-download when one utility line changes. Import Maps resolve bare specifiers in the browser without a bundler, isolating cache keys per module.

    Baseline · Widely1 claim
  77. Web APIs

    IndexedDB Transactions and Storage Quotas

    Transactional client-side B-tree object store whose transactions auto-commit on microtask drain and whose storage limits depend on origin-wide disk quotas.

    Baseline · Widely1 claim
  78. Web APIs

    Origin Private File System (OPFS)

    Origin-sandboxed virtual file system backed by raw OS files, offering synchronous in-place byte-range I/O inside Dedicated Workers.

    Baseline · Widely1 claim
  79. Web APIs

    Streams API and Backpressure Mechanics

    Composable ReadableStream, WritableStream, and TransformStream pipelines that bound memory usage via highWaterMark queuing strategies and desiredSize backpressure signals.

    Baseline · Widely1 claim
  80. Web APIs

    Web Crypto API and SubtleCrypto

    Native C++-backed cryptographic primitives (AES-GCM, SHA-256, ECDSA, HKDF) running off the JS thread in secure contexts with non-extractable CryptoKey handles.

    Baseline · Widely1 claim
  81. Web APIs

    WebAssembly Linear Memory & JS Boundary Crossing Cost

    Calling a Wasm function per pixel or per DOM node burns more CPU marshaling strings across the JS boundary than running pure JS. Batch workloads into shared Linear Memory ArrayBuffers to amortize trampoline and UTF-8 copy costs.

    Baseline · Widely1 claim
  82. Security & Accessibility

    Content Security Policy Nonces and strict-dynamic

    HTTP-header script execution allowlist using per-response cryptographic nonces and 'strict-dynamic' trust propagation to block injected scripts without brittle domain allowlists.

    1 claim
  83. Security & Accessibility

    CORS Preflight and SameSite Cookie Boundaries

    Fetch-layer cross-origin read gating via OPTIONS preflight handshakes, paired with SameSite cookie attributes that restrict cross-site credential attachment.

    1 claim
  84. Security & Accessibility

    Cross-Origin Isolation with COOP and COEP

    Process-level browser isolation enabled by Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers, unlocking SharedArrayBuffer and high-resolution timers by blocking unverified cross-origin bytes.

    1 claim
  85. Security & Accessibility

    DOM XSS Prevention with Trusted Types

    Type-enforced browser defense that locks dangerous DOM sinks (innerHTML, eval, script.src) against raw strings, permitting only objects minted by audited TrustedTypePolicy sanitizers.

    Baseline · Newly1 claim
  86. Security & Accessibility

    Roving Tabindex and Focus Order Mechanics

    Keyboard navigation pattern that reduces a multi-item composite widget to a single Tab stop by toggling tabindex='0' onto the active descendant while keeping siblings at tabindex='-1'.

    1 claim
  87. Security & Accessibility

    The Accessibility Tree and WAI-ARIA Semantics

    Parallel OS-exposed tree derived from the DOM and CSSOM that computes each element's Role, Accessible Name, States, and Properties for assistive technologies.

    1 claim
  88. Security & Accessibility

    User Preference Media Queries

    CSS Media Queries Level 5 features (prefers-reduced-motion, prefers-color-scheme, forced-colors) that mirror OS-level accessibility and display settings into CSS and window.matchMedia().

    Baseline · Widely1 claim
  89. Framework Internals

    Client-Side Router & Radix Tree Matching

    Linear regex arrays stall route matching on large apps and leak stale navigation fetches. Radix-tree routers resolve paths in O(path_length), abort superseded loaders, and integrate with browser navigation primitives.

    1 claim
  90. Framework Internals

    Fine-Grained Signals & Glitch-Free Topological Evaluation

    Eliminates double-renders and torn intermediate state in diamond dependency graphs. Push-pull topological evaluation marks downstream nodes dirty in one pass and lazily recomputes only what effects actually read.

    3 claims
  91. Framework Internals

    Headless UI Primitives & Compound State Contracts

    Styled component libraries couple design tokens to fragile DOM wrappers, forcing 40 KB overrides when designs diverge. Headless primitives expose pure ARIA state machines, keyboard navigation, and top-layer anchoring without owning a single pixel.

    1 claim
  92. Framework Internals

    Hybrid Rendering Topologies (SSG, SSR, ISR & Edge Cache)

    Pure SSG breaks on 100,000-page catalogs with 40-minute builds, while uncached SSR melts origin databases under traffic spikes. ISR and tag-based edge invalidation serve static CDN hits while regenerating stale pages asynchronously.

    1 claim
  93. Framework Internals

    Hydration Mismatch & Subtree Bailout Mechanics

    One mismatched timestamp or browser-extension node during SSR hydration can discard the server DOM and force a synchronous client re-render. Understanding cursor matching and Suspense bailout boundaries keeps LCP and INP intact.

    1 claim
  94. Framework Internals

    Micro-Frontend Isolation: Shadow DOM, Iframes & Module Graphs

    Naive script concatenation leaks global CSS, clobbers window state, and ships duplicate React runtimes. Choosing between Shadow DOM, sandboxed iframes, and shared ES module graphs defines your blast radius and memory budget.

    1 claim
  95. Framework Internals

    Priority Lanes & Time-Slicing Schedulers

    Heavy state updates lock the main thread and tank INP past 200 ms. Bitmask priority lanes let a framework scheduler pause background tree reconciliation, yield to user input, and resume work across frames.

    1 claim
  96. Framework Internals

    Runtime Proxy Reactivity vs Static Compiler Graphs

    Deep Proxy wrapping adds per-property trap overhead and hidden-class polymorphism, whereas static compilers rewrite assignments into direct DOM patches. Choosing between them trades runtime flexibility for zero-allocation update paths.

    1 claim
  97. Framework Internals

    Server Actions & Serialized Closure Boundaries

    Server Actions look like local async functions, yet every invocation crosses an unauthenticated HTTP boundary. Treating closures as free local scope leaks server secrets or crashes with non-serializable payload errors.

    1 claim
  98. Framework Internals

    Server State Cache Machines (fresh → stale → fetching)

    Stop firing duplicate API requests on every component mount or tab switch. A deterministic cache state machine deduplicates in-flight fetches, serves stale memory in 0 ms, and revalidates in the background.

    1 claim
  99. Framework Internals

    Zero-Runtime Atomic CSS vs Dynamic Style Injection

    Runtime CSS-in-JS recalculates hashes and mutates <style> tags during every render, triggering synchronous CSSOM invalidation. Zero-runtime compilers extract static atomic classes at build time and delegate dynamic values to CSS custom properties.

    1 claim
  100. Testing & Verification

    Async Determinism, Fake Timers & Microtask Draining

    Real setTimeout calls in tests bake CI CPU jitter into assertions; fake timers replace wall-clock APIs with a deterministic queue that still breaks if microtasks are not drained.

    2 claims
  101. Testing & Verification

    Deterministic Network Interception & HAR Replay

    Live staging APIs flake tests on rate limits and drifting data, while stubbing window.fetch hides serialization and streaming bugs; intercepting at the browser network layer replays real HTTP frames deterministically.

    2 claims
  102. Testing & Verification

    Test Fidelity Spectrum: Unit, Component, Browser & E2E

    Inverting the test suite into 80% E2E balloons CI past 40 minutes, while 95% mocked JSDOM suites ship broken layouts and CORS failures; match each assertion to the lowest layer that executes the real mechanism.

    2 claims
  103. Testing & Verification

    Visual Regression Testing & Deterministic Rasterization

    Screenshot diffs generated on macOS Retina fail in Linux CI because CoreText and FreeType rasterize subpixel glyph edges differently; pinning container rasterizers and fonts eliminates false diffs.

    2 claims