blink::EventHandler (Blink core input handling)
Blink28623 Syys 2025

blink::EventHandler (Blink core input handling)

Scroll chain builder and overscroll chaining logic. Blink’s EventHandler is responsible for building the scroll chain (the sequence of nested scrollable ancestors) when the user scrolls an element . It determines how scroll events propagate up through parent containers and when to terminate the chain. Crucially, it respects the CSS overscroll-behavior of each element to decide if overscroll should propagate or stop at that element. For example, if an inner element is scrolled to its boundary, by default the scroll chains to its parent – but if that element’s style has overscroll-behavior: contain or none, the chain is broken and the overscroll is handled locally . To implement non-root elastic overscroll, one must modify how EventHandler (and associated scroll logic) interprets these style flags and sends overscroll events: instead of always bubbling to the root, it should allow an overscroll at the element itself when appropriate. In short, EventHandler is where the blink style system meets input: it ensures the scroll chain and overscroll-behavior rules are applied, so the developer must understand it to route overscroll to non-root scrollers.

Jaksot(391)

Blink's IDL and Bindings: Connecting C++ to the Web Platform

Blink's IDL and Bindings: Connecting C++ to the Web Platform

The provided text explains Blink's Interface Definition Language (IDL) and its binding system, which serves as a crucial bridge between JavaScript and C++ within the Chromium rendering engine. It deta...

15 Syys 202547min

Blink's Intent to Ship: A Feature Launch Guide

Blink's Intent to Ship: A Feature Launch Guide

The provided source outlines Blink's "Intent to Ship" (I2S) process, the final stage for launching new features in the Chromium web browser. This crucial step involves a public announcement and reques...

15 Syys 202552min

Blink Origin Trials: Launching Web Features with Confidence

Blink Origin Trials: Launching Web Features with Confidence

The provided sources outline Chrome's Origin Trials, a crucial phase in the Blink feature launch process that allows new web features to be tested by real users on production sites. These trials serve...

15 Syys 202554min

Blink Developer Trials: Launching Web Platform Features

Blink Developer Trials: Launching Web Platform Features

The provided text details Google Chrome's Developer Trials process for launching new web platform features like HTML and CSS additions, which acts as a crucial mid-stage between prototyping and widesp...

15 Syys 202559min

Blink Feature Launch: Intent to Prototype Guide

Blink Feature Launch: Intent to Prototype Guide

The provided source outlines the Blink Feature Launch Process within Chromium, specifically focusing on the Intent to Prototype (I2P) stage for new web platform features. It details the purpose of the...

15 Syys 202556min

HTML5's Triumph: The Web's Defining Battle

HTML5's Triumph: The Web's Defining Battle

The provided text explores the historical struggle between two competing web standards in the 2000s: W3C’s XHTML 2 and the browser vendors’ HTML5. It details the technical and philosophical difference...

14 Syys 202540min

Crafting Technical Specifications: Normative Prose Explained

Crafting Technical Specifications: Normative Prose Explained

The provided text offers comprehensive guidance on crafting normative prose within technical specifications, distinguishing it from informative content which merely provides explanation. It emphasizes...

14 Syys 20251h 5min

Crafting Web Platform Explainers for Blink Features

Crafting Web Platform Explainers for Blink Features

The provided sources collectively offer a comprehensive guide to crafting effective web platform explainers, specifically within the context of Google's Blink team. They define an explainer as a livin...

14 Syys 202539min