为什么 getContext() 在现有画布元素上调用时返回 null,但在 createElement('canvas').getContext() 时工作正常?
Ubuntu 18.04 上的 Chrome 72.0.3626.121
查看 chrome 控制台:
ubuntu google-chrome webgl
google-chrome ×1
ubuntu ×1
webgl ×1