News for hackers. Stuff that matters.
Re:Google Docs will now use canvas based rendering by strogonoff on Wednesday May 12, 2021 @11:53AM (#27131752)
I stand corrected, seems like they’re using canvas for at least the integrated terminal and maybe (?) the editor. Makes all the more sense for Google Docs to follow suit. I’m not against apps moving entirely to canvas by the way, as long as the regular non-webapp sites don’t start doing this just because they can.
Re:Google Docs will now use canvas based rendering by Tyriar on Wednesday May 12, 2021 @01:24PM (#27132822)
The editor is all DOM based apart from the minimap. More pixels could definitely be pushed faster by re-writing it in canvas but it would be quite the undertaking when you consider accessibility, backwards compatibility, monaco extensibility, etc. with the end result just being a improved scrolling experience.