I really hope this tech doesn't take off - the web has been so successful _because_ it was declarative and not imperative. Now we're going to be baking in all the subtleties of Chrome and/or Firefox's handling of callbacks in a language that was never really designed to run inside of a layout engine.<p>Yes, a declarative web API is _far_ harder to get right, but the web community has created an amazing long-term compatibility story. It _should_ be difficult to add things to the web-at-large precisely because it has to live, essentially, forever.
I wrote a 'scratch off' card[1] using the CSS paintlet API a little while ago to see what it was like to work with. There were a few annoying quirks (basically Chrome only, lots of talk without much forward motion, not much that you can't do with a plain old canvas) but there's a lot of potential.<p>[1] Working example: <a href="https://scratchy.ooer.com/" rel="nofollow">https://scratchy.ooer.com/</a> - click and drag to scratch off the symbols. The code lives at <a href="https://github.com/onion2k/scratchy" rel="nofollow">https://github.com/onion2k/scratchy</a>
I feel like this page was designed to be ironically bad to mask the fact that it's actually just bad. Why make it so difficult to understand what's going on? Is this glitch page somehow part of the actual WC3 project?
I was literally just watching this excellent cssconf talk on Houdini <a href="https://youtu.be/1W79T2ibd5Y" rel="nofollow">https://youtu.be/1W79T2ibd5Y</a>
Honestly, it feels like the web is so bloated sometimes. Are the fundamentals really that difficult? We have raw CSS and at most we can have a layer above it that generates manage-able CSS (e.g. SASS). Why introduce all this un-needed complexity?
Seriously, how long do we have to wait until the browser is just a language VM and a drawable surface and you supply your own programming language <i>and</i> layout engine?<p>Like, hey, this URL just points to say, a QT app, and then it runs in this "browser" window over the network. Where have I heard of this before...<p>Everything else just feels like loads of duct tape on top of an over-stressed document browsing paradigm. Just rip it out completely.