Open Bug 1633265 Opened 4 years ago Updated 3 years ago

Show currently displayed image URL and element size for images

Categories

(DevTools :: Inspector, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: sebo, Unassigned)

References

(Blocks 1 open bug, )

Details

To make it easier to debug images, especially in regard of different formats defined via the srcset attribute, the tooltip for the image preview should contain the current value of the currentSrc property as well as the element's sizes additionally to the intrinsic size of the image.

Sebastian

Hi Sebastian,

Thanks for the idea!

It looks very similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1260230#c3
If that's so, please let me know and I'll close this as a duplicate.

Flags: needinfo?(sebastianzartner)

Miriam's comment indeed covers the points I outlined here. Though her comment is also more general than the initial request in that bug to highlight the source within the inspector.

I'd say, Miriam's comment should be turned into a meta-bug for improving debugging of responsive images and individual bugs be created to implement those features. This bug and bug 1260230 could then be marked as blockers for the meta-bug. And I could split this bug into one for the current active image source and one for displaying the image and layout dimensions. What do you think?

Sebastian

Flags: needinfo?(sebastianzartner)
See Also: → 1260230
Blocks: 1687033
You need to log in before you can comment on or make changes to this bug.