| Summary: | Maximum element size is too restrictive for virtual scrolling | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andy E <andyearnshaw> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Andy E
2019-02-28 05:36:39 PST
What are the limits in other browsers? If I understood Andy's comment: Safari: 3.3e7 px Chrome: 9e9 / 270 = 3.3e7 px Firefox: 9e9 / 500 = 1,4e7 px #2 is correct-ish on those estimates. AnneVK of Mozilla suggested I show that others are also experiencing this issue, so here's a bunch of links to open source project issue trackers where people have encountered this problem: SlickGrid — [Virtualization fails above 50k records in IE](https://github.com/mleibman/SlickGrid/issues/22) (title mentions IE but other browsers are also discussed) Clusterize.js — [Cannot scroll past 1,342,180th line](https://github.com/NeXTs/Clusterize.js/issues/161) ngx-virtual-scroller — [What in case for example 1 million records](https://github.com/rintoj/ngx-virtual-scroller/issues/68) Another project, react-virtualized (probably the most popular virtual scrolling library), uses the same workaround we are using to get around the limit, but the author [created an issue](https://github.com/bvaughn/react-virtualized/issues/396) to discuss the drawbacks of the workaround and potential solutions. I'd be really grateful for some technical feedback on this issue, so that I can further build the case for a spec addition if it is not technically feasible to increase these limits. I appreciate any time spared to investigate and respond and understand that this may not be a priority for WebKit. Mozilla and Chrome have signalled that the change would be large for them since it requires using 64-bit numbers for layout object sizes (or sacrificing other data like sub-pixel precision, which they are not prepared to do). https://bugs.chromium.org/p/chromium/issues/detail?id=932109 https://bugzilla.mozilla.org/show_bug.cgi?id=1527883 (In reply to Andy E from comment #5) > I'd be really grateful for some technical feedback on this issue, so that I > can further build the case for a spec addition if it is not technically > feasible to increase these limits. I appreciate any time spared to > investigate and respond and understand that this may not be a priority for > WebKit. > > Mozilla and Chrome have signalled that the change would be large for them > since it requires using 64-bit numbers for layout object sizes (or > sacrificing other data like sub-pixel precision, which they are not prepared > to do). > > https://bugs.chromium.org/p/chromium/issues/detail?id=932109 > https://bugzilla.mozilla.org/show_bug.cgi?id=1527883 Our position aligns with Blink and Gecko. We have no intention of making the wide-spread changes that would be required to fix this bug. Instead, if you need this kind of scaling, you'll have to make some sort of virtual scroller that keeps the element size within reasonable limits. |