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.
[ Parent
| on HN ]
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.