mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
canvas: Reset the current path on canvas context resetting (#37671)
Follow the HTML canvas specification and empty the list of subpaths in context's current default path (step 2) on canvas context reseting (reset() or set bitmap dimestion). https://html.spec.whatwg.org/multipage/#reset-the-rendering-context-to-its-default-state Testing: Improvements in the tests - html/canvas/element/canvas-host/2d.canvas.host.initial.reset.path.html - html/canvas/offscreen/canvas-host/2d.canvas.host.initial.reset.path* Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
This commit is contained in:
parent
fc20d8b2e1
commit
3f496f8225
4 changed files with 13 additions and 10 deletions
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.host.initial.reset.path.html]
|
||||
[Resetting the canvas state resets the current path]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.host.initial.reset.path.html]
|
||||
[Resetting the canvas state resets the current path]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.host.initial.reset.path.worker.html]
|
||||
[Resetting the canvas state resets the current path]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue