Skip to content

Commit

Permalink
Switch back to no-clip behavior
Browse files Browse the repository at this point in the history
As per whatwg/html#6306 it is finally the expected behavior.
  • Loading branch information
Kaiido committed Jan 31, 2021
1 parent 25f2f92 commit 05b5048
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@
);
testClip( "clip outside negative",
-8, -8, 16, 16, [
[ 4, 4, 0,255,0,255], [12, 4, color,color,color,255],
[ 4, 12, color,color,color,255], [12, 12, color,color,color,255]
], 8, 8
[ 4, 4, color,color,color,255], [12, 4, color,color,color,255],
[ 4, 12, color,color,color,255], [12, 12, 0,255,0,255]
], 16, 16
);
testClip( "clip outside positive",
8, 8, 16, 16, [
[ 4, 4, 0,255,0,255], [12, 4, color,color,color,255],
[ 4, 12, color,color,color,255], [12, 12, color,color,color,255]
], 8, 8
], 16, 16
);
testClip( "clip inside using negative width and height",
24, 24, -16, -16, [
[ 4, 4, 0,255,0,255], [12, 4, color,color,color,255],
[ 4, 12, color,color,color,255], [12, 12, color,color,color,255]
], 8, 8
], 16, 16
);
</script>

0 comments on commit 05b5048

Please sign in to comment.