Chrome Canvas Bug - with Intel HD 400 graphics

2022-04-28 - for Issue 1309876: CanvasRenderingContext2D deletes parts of image after switching tabs

Do the following steps:
  1. Press "Draw Green Dot"
  2. Switch to a different tab and come back.
  3. Press "Draw Green Dot" again.
Green dots should continue to draw normally. But in Chrome on ChromeOS (and probably Linux) with Intel HD 400 graphics it erases the canvas where it is drawing, so the red background (via css) can shine through. Screenshot

To make drawing work normally again press "Add & Remove Draw-Canvas to DOM". The bug only occurs if the canvas was not in the DOM since the last tab switch.