Necessity of Folding a single HTML-Element

(Louis) #1

Hey there,

I like working with the FireFox DevTools! The following Screenshot shows SPAN-Elements in my source. Some of them are folded, but their content is not much “bigger” than the others. Why does DevTools fold those and is there a way stop him from doing that?

Thanks in Advance, Louis

(Julian Descottes) #2

Hi Louis,

We are folding elements that either have:

  • child nodes
  • a text content longer than 50 characters

This is done to limit the amount of data we need to fetch from the page at once (in case elements have a lot of text content).