CSS View Transition Pseudo-elements Explained
Blink28624 Syys 2025

CSS View Transition Pseudo-elements Explained

These sources provide a detailed, technical explanation of the View Transition API implementation within the Chromium web browser, focusing on how CSS pseudo-elements enable smooth animations. The first source explains that view transition pseudos (like ::view-transition-old() and ::view-transition-new()) are temporary, browser-synthesized overlays used to capture and animate visual snapshots of elements during state changes. The second, more extensive source describes the low-level C++ classes in the Blink rendering engine and the cc compositor that orchestrate this process, including the DocumentTransition class, which manages the lifecycle, snapshot capture, and pseudo-element creation, and the SurfaceAnimationManager in the Viz component, which handles the final, performant GPU-accelerated animation of the saved frames using specialized layers and directives. Together, the texts map the high-level CSS API to the complex, multi-process architecture of Chromium, explaining how old and new content are matched, isolated on the top layer, and composited for animation.


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