- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 2 Dec 2013 18:38:05 -0800
- To: Charles Walton <charleswalton@google.com>
- Cc: Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
On Mon, Dec 2, 2013 at 5:12 PM, Charles Walton <charleswalton@google.com> wrote: > "The element must not provide a scrolling user interface" > > This is rough - I'm guessing there's a terrible hidden cost in enabling > scrolling? Yup - if it's possible to scroll, then we have to (a) pay attention to the elements "below the fold", even if they'd otherwise be ignorable, and (b) paint at least some of the off-screen stuff, so that it'll be smooth if you start scrolling. Even if you never scroll at all, as long as it's *possible* to do so, such as in "overflow:hidden", you incur some of these costs. If you want to scroll via JS, don't use 'contain', just use "overflow:hidden". ~TJ
Received on Tuesday, 3 December 2013 02:38:52 UTC