Uploaded October 2026 | Updated November 2026, 3 hours ago
Learn how the new HTML-in-canvas API bridges the gap between expressive, accessible DOM elements and high-performance graphics. Explore how to render live, interactive DOM content directly into canvas pixels without sacrificing Web platform features like text selection and find-in-page, as well as accessibility via screen readers.
Chapters:
00:00 - Intro to HTML-in-canvas
00:40 - DOM vs. Canvas
03:11 - Build with HTML-in-canvas
04:02 - Step 1: Prepare your canvas
05:13 - Step 2: Drawing HTML elements in the canvas
07:03 - Understanding the Paint Event lifecycle
09:58 - Step 3: Synchronizing interaction geometry
11:41 - Tools and frameworks
12:38 - Summary and next steps
Resources:
HTML-in-Canvas developer documentation → https://goo.gle/hic-docs
HTML-in-Canvas community demos → https://goo.gle/awesome-hic
HTML-in-Canvas developer newsletter →https://goo.gle/hic-newsletter
File a bug → https://goo.gle/hic-issue
Github repo → https://goo.gle/4zLUQvI
Modern Web Guidance → https://goo.gle/modern-web-guidance
Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs
#ChromeForDevelopers #Chrome #WebDevelopment #HTMLinCanvas
Speakers: Natalia Markoborodova
Products Mentioned: Chrome
Learn how the new HTML-in-canvas API bridges the gap between expressive, accessible DOM elements and high-performance graphics. Explore how to render live, interactive DOM content directly into canvas pixels without sacrificing Web platform features like text selection and find-in-page, as well as accessibility via screen readers.
Chapters:
00:00 - Intro to HTML-in-canvas
00:40 - DOM vs. Canvas
03:11 - Build with HTML-in-canvas
04:02 - Step 1: Prepare your canvas
05:13 - Step 2: Drawing HTML elements in the canvas
07:03 - Understanding the Paint Event lifecycle
09:58 - Step 3: Synchronizing interaction geometry
11:41 - Tools and frameworks
12:38 - Summary and next steps
Resources:
HTML-in-Canvas developer documentation → https://goo.gle/hic-docs
HTML-in-Canvas community demos → https://goo.gle/awesome-hic
HTML-in-Canvas developer newsletter →https://goo.gle/hic-newsletter
File a bug → https://goo.gle/hic-issue
Github repo → https://goo.gle/4zLUQvI
Modern Web Guidance → https://goo.gle/modern-web-guidance
Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs
#ChromeForDevelopers #Chrome #WebDevelopment #HTMLinCanvas
Speakers: Natalia Markoborodova
Products Mentioned: Chrome









![Modernizing the Pinterest carousel: 90% less code with native CSS
How do you build a web that inspires 600 million users? At Pinterest, the Close Up experience is core to how users discover ideas. But over time, the JavaScript powering carousel experience became a patchwork of 2,000 lines of code—resulting in noticeable lag and jank for users.
In this video, Pinterest engineers Calvin and Anuja walk through how they swapped legacy JavaScript for modern CSS carousels and View Transitions. The results? A 90% reduction in code, a 15% improvement in page load time, and a smoother, native-feeling UI.
Chapters:
[0:07] Inspiring 600 Million Users
[0:10] Meet the team: Engineering at Pinterest
[0:21] The legacy carousel: 2,000 Lines of JavaScript
[0:49] The Experiment: Converting to CSS carousel
[1:22] Results: 90% less code, 15% less load time.
[1:36] Scaling success everywhere
[2:03] View Transitions: Smooth animations are now possible
📚Resources:
Make accessible carousels → https://goo.gle/4aTpGtc
Carousels with CSS → https://goo.gle/3YuWhOv
Scoped View Transitions → https://goo.gle/3XuZMUX
View Transition API → https://goo.gle/3MzVngY
Watch more “Re-Imagine the web” → https://goo.gle/re-imagine-the-web
Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs
#Chrome #Pinterest #webui
Products Mentioned: Chrome, Pinterest, web platform, web development, CSS, CSS carousels, CSS primitives, View Transitions Modernizing the Pinterest carousel: 90% less code with native CSS](https://i.ytimg.com/vi/oWJPu3yvfp8/mqdefault.jpg)
