mozilla-b2g/gaia — pull request #18077 by janjongboom (2014-04-08 13:34:24+00:00)
Title: Bug 993390 - Don't do a sync reflow if we just cleared the element

We do `innerHTML = ''` and then set the scrollTop and scrollLeft to 0, which forces a sync reflow. That is pretty redundant.