NEW209899
Blank WebGL Canvas when element is shown after hiding (Safari)
https://bugs.webkit.org/show_bug.cgi?id=209899
Summary Blank WebGL Canvas when element is shown after hiding (Safari)
Tom
Reported 2020-04-02 02:35:05 PDT
Created attachment 395253 [details] app showing safari webGL canvas drawing bug When you reshow a WebGL canvas element, the contents are not always drawn and you sometimes just get a blank canvas. This issue only seems to be present on Safari. Reproduction steps: 1. Create a canvas element using WebGL to draw. 2. Hide that element using "display: none". 3. Reshow the element using "display: block". Current Behaviour: Repetitive trials indicate that the canvas content is only restored about 50% of the time. Expected Behaviour: The canvas element's content, i.e. what is drawn on the canvas, should be redrawn when the element is re-shown in all instances. Other: See attached zip for a simple app that demonstrates this.
Attachments
app showing safari webGL canvas drawing bug (18.02 KB, application/zip)
2020-04-02 02:35 PDT, Tom
no flags
Radar WebKit Bug Importer
Comment 1 2020-04-04 13:09:23 PDT
Note You need to log in before you can comment on or make changes to this bug.