While debugging some scrollbar invalidation, I noticed an odd behavior. On a page which never shows scrollbars (because it has no minimum width), as I shrink the window we're creating, then destroying scrollbars on every resize. A printf in ScrollView::setHasHorizontalScrollbar() revealed this.