1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

LibWeb: Add DOMMatrix flipX and flipY

This commit is contained in:
Bastiaan van der Plaat 2023-09-04 18:23:32 +02:00 committed by Jelle Raaijmakers
parent fc380bf516
commit f1742ae1b9
5 changed files with 50 additions and 2 deletions

View file

@ -41,5 +41,11 @@
// 12. Skew Y DOMMatrix with multiply
testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60]).multiply(new DOMMatrix().skewY(10)));
// 13. Flip X DOMMatrix
testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60]).flipX());
// 14. Flip Y DOMMatrix
testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60]).flipY());
});
</script>