You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Items in scrollable layers can be clipped incorrectly. #7153
A scroll layer has height 2000, with visible height of 768.
The first tile paints at 512x512 correctly.
The second tile paints at 512x512 and correctly clips items in the code above that are outside the 768 pixel enclosing rect.
When you scroll, the compositor doesn't ask for the 2nd tile to be repainted, as it hasn't changed.
This means that items clipped during the first render never get added to the display list as you scroll.
We could potentially force a repaint, but isn't this what the display port code should be handling? Perhaps we should just remove the clipping above and rely on the display port clipping?
I think that for display items that belong to an overflow:scroll layer, we should just remove that clipping "optimization", since we will need them if the scroll happens.
Activity
pcwalton commentedon Aug 12, 2015
I think that for display items that belong to an overflow:scroll layer, we should just remove that clipping "optimization", since we will need them if the scroll happens.
Add fix / hack for compositor repainting tiles on scroll layers that …
Add fix for compositor repainting tiles on scroll layers that have st…
Auto merge of #7183 - glennw:scroll-clipping, r=pcwalton
Add fix for compositor repainting tiles on scroll layers that have st…