Re:I Wrote a String Type
by brundolf on Saturday September 09, 2023 @11:01PM
(#37452519)
I've never seen an article with a minimap on the side before, that's kinda awesome
[ Parent
| on HN ]
Re:I Wrote a String Type
by chrismorgan on Saturday September 09, 2023 @11:16PM
(#37452591)
I’m genuinely disappointed that it’s not done with -moz-element() on Firefox, but still duplicates all the content and just scales it down. Using -moz-element() has the potentially-useful side-effect that things like text selection will be visible in the minimap as well, as well as avoiding the problems of the duplication approach, such as that browser find functionality looks in the minimap too. (The minimap needs `user-select: none` which fixes some of the problems, but not all.)
I still hope that other browsers will eventually implement element(), along with cross-fade() which is also in the CSS Images Module Level 4 draft <https://w3c.github.io/csswg-drafts/css-images-4/>.
> I’m genuinely disappointed that it’s not done with -moz-element() on Firefox
Given how few of us Firefox users there are out there, I'm sadly not surprised.
Firefox till I die. (Or until they turn into a shit company)
Exactly the same for me! I've been using Firefox forever, and always will.
In this case you might be interested in this recent post: https://news.ycombinator.com/item?id=36757542.
Re:I Wrote a String Type
by Propelloni on Sunday September 10, 2023 @03:48AM
(#37453737)
Agreed, it's a joy to scroll through this article using the minimap. IMO a stark reminder how useless modern scrollbars have become.
Re:I Wrote a String Type
by NooneAtAll3 on Sunday September 10, 2023 @06:08PM
(#37460604)
it doesn't even appear for me on default browser scaling
if you hadn't commented that, I wouldn't have known