Skip to content
Product and web UIguide

How to inspect which responsive icon a browser selected

By SkeuDesign Editorial Team1 min read

Answer in brief

Read the image element's currentSrc after it loads. The src attribute can point to a fallback even when the browser has chosen another candidate.

Trace a blurry badge

Select the badge in the Elements panel and evaluate $0.currentSrc in a browser console that supports the selected-element shortcut. Match that URL to the network request and inspect the returned file at its native size.

Compare the selected bytes with their display size

A URL ending in @2x may still identify an undersized file after a CDN transform. Inspect the decoded pixel dimensions in the network preview and compare them with the rendered CSS width multiplied by device pixel ratio. Also look for a parent transform scaling an otherwise correctly sized image.

Sources

  1. [1] HTMLImageElement: currentSrc property - Web APIs — MDN Web Docs, accessed November 23, 2026

Frequently asked questions

Why does resizing give inconsistent comparisons?

A previously fetched candidate may already be cached. Use fresh page loads under each test condition when comparing selection behavior.