4 ms·
> Kind of amazing that this is literally the unit meant to solve such problems, and yet it doesn't. I thought the problem this was literally meant to solve was
by azangru 4y ago
> Kind of amazing that this is literally the unit meant to solve such problems, and yet it doesn't.
I thought the problem this was literally meant to solve was the ambiguity about what a viewport is on mobile browsers with various browser ui elements (address bar, keyboard) taking up space.
Isn't the problem with scrollbars one that it is easy to get into edge cases that result in infinite loops if the gutter space isn't stable?
- int_19h 4y agoThe point is that scrollbars also affect what the viewport, meaningfully defined, is. Getting into infinite loops is a possibility with any non-trivial layout engine if you implement it in certain ways. Per GitHub discussion, though, there is a known algorithm to handle it; the problem is that only Firefox implemented it, and even that as an experiment.