[whatwg] [2D Canvas] Do canvases in documents without a browsing context need to be rendered?

Boris Zbarsky bzbarsky at MIT.EDU
Wed Mar 5 20:48:03 PST 2014


On 3/5/14 11:42 PM, Rik Cabanier wrote:
> Since this is such a small edge case, it seems reasonable to disallow the
> creation of a 2d context and throw an exception. Going through all the APIs
> and flagging them as suitable for a context-less environment is not really
> worth the effort.

What happens if I create a 2d context while in a document and then adopt 
the <canvas> into a document that has no browsing context?

-Boris



More information about the whatwg mailing list