- From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Apr 2020 15:23:38 +0000
- To: public-css-archive@w3.org
> If you allow ink overflow to escape, even by some known distance, how can you still do the optimizations enabled by the fact that contain:overflow usually allows nothing to escape? `contain:paint` on an element allows the browser to be sure that nothing in the painted subtree of the element exceeds that element's border box. This can be use to optimized away/schedule raster and related rendering work when the element is scrolled offscreen. Expanding the border box by a fixed, and known-to-the-browser amount, still allows such optimizations to apply, but the browser just needs to account for the additional space. The same optimizations can still apply. It's just a somewhat bigger raster area. -- GitHub Notification of comment by chrishtr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4934#issuecomment-612076807 using your GitHub account
Received on Friday, 10 April 2020 15:23:41 UTC