← Back to context

Comment by afishhh

2 hours ago

I'm going to fucking crash out if another person says they're making a browser and their inline layout does this shit[1] I swear to god.

I held off on commenting on the last AI browser post because the author said "it's not even good" so they recognized it's trash (it was).

Please educate yourself on how inline layout is supposed to work[2] first. (no, you cannot lay out text span-by-span[3] either...)

[1] https://github.com/chrisuehlinger/viberowser/blob/df6f4a265a...

[2] https://drafts.csswg.org/css-inline-3/

[3] https://drafts.csswg.org/css-text-3/#boundary-shaping

You found it! Yeah the 4th version of the browser is in Haskell and is only a couple hours in, so it’s nowhere near done. The Go version achieved Acid3 compliance in 7 hours, but I expect this one to take a lot longer since Haskell is a bit more difficult to work with and there’s probably less Haskell in the training dataset.