News for hackers. Stuff that matters.
Re:Kosmonaut: web browser from scratch in Rust by ptx on Saturday August 15, 2020 @04:46PM (#24172241)
If you're writing a document (not an app) and using floats for their intended purpose, they are useful - and can't easily be replicated with grids or flexbox, I think.
Re:Kosmonaut: web browser from scratch in Rust by dathinab on Saturday August 15, 2020 @07:41PM (#24173430)
Which is the root of the problem, the web was designed for linear top-to-bottom mostly static documents.

But most websites have diverged from this since a long time ago, even such which represent mostly immutable content.

Re:Kosmonaut: web browser from scratch in Rust by quickthrower2 on Wednesday August 26, 2020 @10:36PM (#24289637)
It’s ok we can make a float polyfill
Re:Kosmonaut: web browser from scratch in Rust by dmitryminkovsky on Saturday August 15, 2020 @07:40PM (#24173429)
Yeah that's a good point. I've always thought pages should, then, specify if they're a document or an app. If you're a doc, you use all the various semantic tags. If you're an app, just use div/span. Maybe the spec could have something like that, app mode and doc mode.
Re:Kosmonaut: web browser from scratch in Rust by goto11 on Sunday August 16, 2020 @06:51AM (#24176766)
What would be the benefit?