RESOLVED CONFIGURATION CHANGED 109073
Mobile Safari: canvas element created in a document made with createHTMLDocument does not render when added to main document
https://bugs.webkit.org/show_bug.cgi?id=109073
Summary Mobile Safari: canvas element created in a document made with createHTMLDocum...
Steve Orvell
Reported 2013-02-06 11:25:43 PST
Created attachment 186880 [details] Reduction of bug If a canvas element is created in a document created with createHTMLDocument and then added to the main document, it will not render. This problem was observed only on mobile Safari (ios 6.1) and not on desktop Safari or Chrome. Example of creating and attaching a canvas element in a way that it will not render: var doc = document.implementation.createHTMLDocument('test'); doc.body.innerHTML = '<canvas></canvas>'; document.body.appendChild(doc.body.childNodes[0]); See attached reduction for a test that renders something.
Attachments
Reduction of bug (529 bytes, text/html)
2013-02-06 11:25 PST, Steve Orvell
no flags
Ahmad Saleem
Comment 1 2022-07-22 04:36:46 PDT
I am unable to reproduce this bug on iPhone 13 Pro Max (iOS 15.6) and loading the reduction does show triangle same as desktop. Thanks! If I am testing incorrectly, please test accordingly. Thanks!
Alexey Proskuryakov
Comment 2 2022-07-22 11:29:33 PDT
Thank you for testing!
Note You need to log in before you can comment on or make changes to this bug.