News for hackers. Stuff that matters.
Re:Kosmonaut: web browser from scratch in Rust by jefftk on Saturday August 15, 2020 @08:08PM (#24173586)
While I think you're right that the last two are very uncommon, they are not a large contributor to the complexity of handling font sizing. Once you've done all the rest, I suspect you could add them with <5% more work.

Leaving out rare features to build a browser more quickly only makes sense if those features let you remove a lot of complexity from your implementation.

Re:Kosmonaut: web browser from scratch in Rust by brundolf on Saturday August 15, 2020 @08:34PM (#24173728)
When it gets to the point of diving into the last two, the article literally says:

> Alright, this is where it gets complicated.

I haven't implemented any of the above myself, but the author at least seems to think the last two are where the complexity is concentrated.

Re:Kosmonaut: web browser from scratch in Rust by jefftk on Saturday August 15, 2020 @08:41PM (#24173762)
Sorry, you're right. I've gone back and read the article and there was complexity in those two that I had completely forgotten about.