▲ | russellbeattie 7 days ago | |||||||
How about a flag on the body element like:
This would make the entire visible page into a canvas-like drawing surface which also renders DOM elements as per usual. At some level there's a process which rasterizes the DOM - opening drawing APIs into that might be a better solution.It's sort of the same thing as HTML in canvas conceptually, but architecturally it makes DOM rendering and canvas rendering overlapping equals with awareness going both ways. E.g., a line drawn on the page will cause the DOM elements to reflow unless told to ignore it. | ||||||||
▲ | pyrolistical 7 days ago | parent | next [-] | |||||||
Screen readers all cried in unison | ||||||||
| ||||||||
▲ | koolala 7 days ago | parent | prev [-] | |||||||
Would this mean a canvas could also automatically resize? This would be a new era for html composition that could surpass iframes. | ||||||||
|