4 ms·
Side note: this page gives me the weirdest Firefox behaviour I've ever seen: https://gfycat.com/HandyRapidJabiru https://gfycat.com/HandyRapidJabiru
by angus-g 9y ago
Side note: this page gives me the weirdest Firefox behaviour I've ever seen: https://gfycat.com/HandyRapidJabiru https://gfycat.com/HandyRapidJabiru
- deleted 9y ago[deleted]
- synicalx 9y agoThat's probably the weirdest browser behaviour I've seen on any browser! I don't even know how I would describe that to someone :/
- tekromancr 9y agoLike it's printed on some form of mathematical hyper-rubber sheet, and scrolling pulls it down until it stretches into invisibility, rendering the next rubber page visible.
- Danihan 9y agoITS A BAD CASE OF THE STRETCHIES
- kalleboo 9y agoIt looks like the scrolling in Firefox is implemented in screen-height tiles, and when he's scrolling it's picking a smaller and smaller portion of the top tile (as the top portion of the tile is scrolling out of the window) but not updating the bottom coordinate of the rectangle it's supposed to render to (so instead of moving up, instead the smaller and smaller portion gets stretched out to fill the window). Then when the top tile is supposed to be completely off-screen, it jumps to the second tile in one go.
- tekromancr 9y agoI want to emulate that behavior somehow.
- deleted 9y ago[deleted]
- sgentle 9y agoSo I tried but the results were... um, unexpected: https://gfycat.com/negligiblesnivelingastarte https://gfycat.com/negligiblesnivelingastarte Code: var db = document.body;document.onscroll = function(){db.style.transform = 'scaleY(1)'; db.style.transform = 'scaleY('+db.scrollHeight / (db.scrollHeight - db.scrollTop)+')'}
- Casseres 9y agoThat looks like it would be a good April Fool's Day prank.
- nWjbyf45T 9y agoIt seems from the code you first stretch it out to Infinity and then when scrollTop is bigger than scrollHeight, you go from negative Infinity back to 1. Negative values of scale() 'mirrors' the element. Maybe make sure scrollTop is never equal to or bigger than scrollHeight.
- daxterspeed 9y agoThis result is by itself amazing, but if you want to make it behave a bit more like the bug you can set the transform-origin to "center bottom".
- mintplant 9y agoThat is weird! Would you mind providing your system configuration and Firefox version info so I can file a bug? (Or you could file one here yourself if you're so inclined: https://bugzilla.mozilla.org/enter_bug.cgi?format=guided#h=bugForm%7CFirefox https://bugzilla.mozilla.org/enter_bug.cgi?format=guided#h=b...)
- deefcee 9y agoDo not file a bug, you might get arrested.
- bigbugbag 9y agoUsing firefox too, I cannot replicate the behaviour. Could it be something from your side of things causing this ? Have you tried turning it off and on again ?
- satyanash 9y agoI am having this exact issue. - Firefox 54.0.1 (64-bit) - Arch Linux 4.11.5-1-ARCH
- garaetjjte 9y agoI also have this issue, interestingly also on Arch. I also seen other site with that issue before but I can't find it now.
- angus-g 9y agoI'm on the 4.11.9-1-ARCH kernel, but same Firefox version. I'm only able to reproduce with the Zotero addon enabled, are you using it too?