From ed03f37ae93d30263337d9cc72c9a820d25adff6 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 4 Mar 2022 18:57:29 +0100 Subject: LibWeb: Add CanvasRenderingContext2D's origin-clean flag --- Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h') diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h index dede820e9f..14c232f0aa 100644 --- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h +++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h @@ -121,6 +121,9 @@ private: DrawingState m_drawing_state; Vector m_drawing_state_stack; + // https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-origin-clean + bool m_origin_clean { true }; + // https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-context-lost bool m_context_lost { false }; -- cgit v1.2.3