The Web started as a document display and delivery framework. Now it has turned into an application delivery framework, which uses the old document-rendering abilities to display the UI, with many quirks and workarounds, because DOM was never intended as a performant dynamic medium. With canvas and WebGL taking more and more, it will turn back into an X terminal, with more advanced network capabilities. If most impor…
You say this like it wont be used to completely remove all user choice and be an utter disaster.
Google Docs will now use canvas based rendering
331–340 of 953 posts
Re: Google Docs will now use canvas based rendering
#332RIP web accessibility when everyone starts doing this to make ad blocking more difficult
(googler, opinions are my own, I know nothing about this project). I will bet that this will ship with accessibility support. If it doesn't, maybe they will launch with it being opt-in, as they flesh out a11y. But if I were to put money on it, it will ship with a11y functionality. The good thing here is that Google already has experience with accessibility on canvas UIs . Flutter, which uses canvas on web[0] and open…
Its also a bit disheartening to read that someone would consider accessibility an optional thing that could be shipped later.
Re: Google Docs will now use canvas based rendering
#333Re: Google Docs will now use canvas based rendering
#334(googler, opinions are my own. I know nothing about this project). I really hope this fixes the large-document problem. As someone that has to deal with large specs (1000+ page MS Word documents), Google Docs does a not-so-great job of handling them. I also understand this is why many writers don't like Google Docs to write the entire book in, as things start slowing down when you get into the hundreds-of-pages. I do…
Re: Google Docs will now use canvas based rendering
#335Earlier quoted context omitted.
(Un)folding a 100+ comment subtree is kind of slow, don't you think?
Tried it with a sub-tree of ~240 comments just now. Less than a second on Firefox. Perfectly usable and acceptable in my opinion. To me there are probably hundreds of more annoying or slower things currently out there on the web that frustrate me.
Re: Google Docs will now use canvas based rendering
#336Ever since WebAssembly was first introduced, I thought it was obvious[1][2] that the end game for those that want to control the web is sending opaque binary blobs of code that only use the browser for the canvas tag's framebuffer. Font rendering and layout can all easily be accomplished by embedding libraries like freetype. This breaks all forms of user control - like ad blockers - and turns the web back into cable…
Re: Google Docs will now use canvas based rendering
#337Earlier quoted context omitted.
Pi-hole wont protect you here, they will send the entire page, ads and all as an encrypted binary blob. Decrypting it is illegal, and since the data is coming from a single source Pi-hole can't block it. Pi-hole (and ad-blocking) days are numbered. Hopefully that day is further out than I dread.
Its already possible to have server side rendering bake in ads on web pages, but just about nobody does it. I think the percent of people who know about pi-Hole vs the cost of server side rendering will always make client-side rendering the optimal choice for the people running the websites. They can block adblocking browser extensions, and that will be enough for them.
But it's technically a bit different, since an ad-blocker could still block those baked in advertisements while it's traditional web technology. If it's a binary blob rendered with canvas, that won't be true anymore, which I think was what the parent comment was getting at.
Re: Google Docs will now use canvas based rendering
#338Earlier quoted context omitted.
VS Code feels performant enough, with its complex functionality IMO exceeding Google Docs, and yet I don't think it is using canvas. I believe it comes down to strategic design that avoids unnecessary layout and reflow events in the UI. That said, the UI of VS Code (the desktop app) only needs to run in Chromium. And generally Google Docs could be a different enough beast that it can’t take advantage of the same tric…
some of VS Code has been canvas-based since 2017 - https://code.visualstudio.com/blogs/2017/10/03/terminal-rend...
Re: Google Docs will now use canvas based rendering
#339Earlier quoted context omitted.
I for one would welcome the death of HTML and CSS. Unfortunately I suspect they will merely be re-used for this.
HTML and CSS are fantastic; when used what they were designed for. Document markup and display. I blame webapp developers for the scope creep and subsequent denigration of a perfectly reasonable set of standards.
It is meant to display a document. It took TWENTY YEARS before it got support for showing text in columns, the most basic of basic things in how text is often displayed.
It is only now, after twenty-five years, getting a way to specify the aspect ratio of an element.
It's an awful, awful joke.