3 ms·
I wouldn't say it's a crap foundation but it's the wrong foundation. DOM, CSS and the way they interact with JS where designed for mostly immutable "documents"
by dathinab 6y ago
I wouldn't say it's a crap foundation but it's the wrong foundation.
DOM, CSS and the way they interact with JS where designed for mostly immutable "documents" with mostly but to complex design.
Then it was bend and extended to somewhat extend somewhat more complex designs and more interaction.
That step was repeated again and again until now where is used for application graphical user interface instead of just displaying documents with some forms in them.
The foundation is fundamentally unsuited for the task it's used for by now.
CSS might seem simple but has crazy amounts of hidden complexity and until recently lacked trivial/simple ways to do some layouts common for GUIs but unnecessary (and bad) for displaying documents.
In recent years thinks have gotten better, e.g. CSS grid makes GUI layouts SO much simpler, but still the foundation is broken.
As consequence many of the promises the foundation gives are in practice often broken, too (like accessibility, like free resizing and zooming which often doesn't work correct, like cross platform as web apps are often designed for chrome relying accidentally on chrome specific behavior especially wrt. CORS, ...)