mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
canvas2d: Implement .reset()
(#31258)
* Implement Canvas2D reset * Update WPT tests * Apply suggestions from code review --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
29c206a702
commit
b2ae3928ab
106 changed files with 28 additions and 289 deletions
|
@ -44,6 +44,7 @@ interface mixin CanvasState {
|
|||
// state
|
||||
undefined save(); // push state on state stack
|
||||
undefined restore(); // pop state stack and restore state
|
||||
undefined reset();
|
||||
};
|
||||
|
||||
interface mixin CanvasTransform {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue