mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibWeb: Add CanvasRenderingContext2D's origin-clean flag
This commit is contained in:
parent
6521c04bf3
commit
ed03f37ae9
2 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,9 @@ private:
|
|||
DrawingState m_drawing_state;
|
||||
Vector<DrawingState> 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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue