How to Use the Chrome DevTools Rendering Tab to Find Layout Shifts

Cumulative Layout Shift (CLS) is a major metric in modern web performance and SEO. It occurs when a web page abruptly changes layout while loading—such as an image rendering late and pushing a paragraph of text downward just as the user is trying to read it. These visual jumps are frustrating for users and penalized by search engines. To mathematically identify and fix these unstable rendering events, frontend developers use the Google Chrome DevTools \”Rendering\” tab.

Why Use the Rendering Tab?

Most layout shifts happen so quickly during page load that they are difficult to catch with the naked eye, let alone diagnose. The Rendering tab contains a suite of specialized diagnostic overlays that visualize browser mechanics in real-time. Specifically, it can highlight the exact HTML elements that are changing size or position and flash the screen when a repaint occurs. By enabling these overlays, developers can instantly see which unconstrained image, late-loading web font, or dynamically injected advertisement is breaking the page structure.

Step 1: Open the Rendering Tab

The Rendering tab is somewhat hidden by default.

  1. Open Google Chrome and navigate to the web page you want to test.
  2. Right-click anywhere on the page and select Inspect to open DevTools.
  3. Press the Esc key on your keyboard. This will open the secondary Drawer panel at the bottom of the DevTools window.
  4. In the Drawer, click the Three-dot menu icon (More tools) on the left side, and select Rendering from the list.

Step 2: Enable Layout Shift Regions

This is the most critical tool for finding CLS issues.

  1. In the Rendering tab, check the box next to Layout Shift Regions.
  2. Now, refresh the web page or interact with it.
  3. Every time an element shifts position unexpectedly, Chrome will flash the affected area on the screen with a translucent blue highlight. If an entire block of text flashes blue when an image above it loads, you have found a layout shift.

Step 3: Enable Paint Flashing

Sometimes, performance issues are caused by the browser constantly having to redraw (repaint) elements, even if they aren’t shifting position.

  1. Check the box next to Paint flashing.
  2. Scroll up and down the page. Chrome will flash green over any element that is currently being repainted.
  3. If a static background or an entire container is flashing green just because you are scrolling, it indicates a CSS inefficiency that needs to be addressed (often by forcing hardware acceleration).

Step 4: Emulate CSS Media Features

The Rendering tab also allows you to test how your page reacts to different user preferences without changing your system settings.

  1. Scroll down to the Emulate CSS media feature prefers-color-scheme dropdown.
  2. Change it to dark. The page will immediately render its dark mode CSS (if available).
  3. You can also use the Emulate CSS media feature prefers-reduced-motion dropdown to ensure your animations respect users who request reduced motion.

By heavily utilizing the Rendering tab, developers can eliminate layout shifts, optimize paint performance, and ensure a stable, high-quality user experience.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.