Why does div.no-data work in Chrome DevTools but not in Firefox DevTools when using the Ctrl+F search bar?

Why does div.no-data work in Chrome DevTools but not in Firefox DevTools when I Search CssSelector in devtools

Thanks for the report,

The Firefox inspector search tries to “guess” if the input contains a tagname / classname, but I think it gets confused by the hyphen here.

I filed 1980892 - Inspector search can't find css selector with hyphen to investigate this.

2 Likes

This will be fixed in Firefox 142