News for hackers. Stuff that matters.
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/>.

Re:I Wrote a String Type by kelnos on Sunday September 10, 2023 @01:41AM (#37453223)
> 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.

Re:I Wrote a String Type by soultrees on Sunday September 10, 2023 @02:48AM (#37453493)
Firefox till I die. (Or until they turn into a shit company)
Re:I Wrote a String Type by pif_ on Sunday September 10, 2023 @04:34AM (#37453991)
Exactly the same for me! I've been using Firefox forever, and always will.
Re:I Wrote a String Type by msm_ on Sunday September 10, 2023 @11:52AM (#37457008)
In this case you might be interested in this recent post: https://news.ycombinator.com/item?id=36757542.