3 ms·
Not necessarily... just like how another poster mention's Tumblr's use of empty divs to keep the scrollbar position happy without sucking up resources, couldn't
by scott_karana 12y ago
Not necessarily... just like how another poster mention's Tumblr's use of empty divs to keep the scrollbar position happy without sucking up resources, couldn't mixed-resource divs be replaced with text-only divs? Then search works fine, and memory still doesn't balloon (much).
Eg:
<div>Cool meme: <embed>...</embed><img></img></div>
Goes to:
<div>Cool meme:</div>
Even more work in implementation, admittedly. ;)