1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

LibWeb: Implement CanvasRenderingContext2D.isContextLost()

Note that we don't implement the "context lost steps" yet, so this will
always return the initial value (false).
This commit is contained in:
Linus Groh 2021-12-27 14:35:38 +01:00 committed by Andreas Kling
parent 2576af5db1
commit 1298c27ca9
3 changed files with 12 additions and 0 deletions

View file

@ -34,6 +34,7 @@ interface CanvasRenderingContext2D {
undefined save();
undefined restore();
undefined reset();
boolean isContextLost();
readonly attribute HTMLCanvasElement canvas;