Prevent Removing Elements with position: sticky or position: fixed from the DOM

I requested similar here:

I almost reported it as a bug before I figured out it was intentional. It makes it impossible to do quite a number of typical css things. I definitely agree with your idea of having it exclude sticky and fixed items.