check that the clip is reset
+ + diff --git a/Tests/LibWeb/Ref/input/wpt-import/html/canvas/element/reset/2d.reset.state.clip.html b/Tests/LibWeb/Ref/input/wpt-import/html/canvas/element/reset/2d.reset.state.clip.html new file mode 100644 index 00000000000..95b2a4dd257 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/html/canvas/element/reset/2d.reset.state.clip.html @@ -0,0 +1,24 @@ + + + + +check that the clip is reset
+ + diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.clip.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.clip.txt new file mode 100644 index 00000000000..b243f04feeb --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.clip.txt @@ -0,0 +1,6 @@ +Harness status: OK + +Found 1 tests + +1 Pass +Pass Resetting the canvas state resets the current clip region \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.transform.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.transform.txt new file mode 100644 index 00000000000..ec2260de9b0 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.transform.txt @@ -0,0 +1,6 @@ +Harness status: OK + +Found 1 tests + +1 Pass +Pass Resetting the canvas state resets the current transformation matrix \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.clip.html b/Tests/LibWeb/Text/input/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.clip.html new file mode 100644 index 00000000000..7bf15018844 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/html/canvas/element/canvas-host/2d.canvas.host.initial.reset.clip.html @@ -0,0 +1,33 @@ + + + +Resetting the canvas state resets the current clip region
+ + +Actual output:
+ + +Resetting the canvas state resets the current transformation matrix
+ + +Actual output:
+ + +