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

LibWeb: Add DOMMatrix multiply

This commit is contained in:
Bastiaan van der Plaat 2023-09-03 12:42:50 +02:00 committed by Andreas Kling
parent ff1bcc694d
commit 61c063f7b3
8 changed files with 61 additions and 4 deletions

View file

@ -11,5 +11,8 @@
// 2. Creating a DOMMatrix with fromMatrix
testPart(() => DOMMatrix.fromMatrix({ a: 10, b: 20, c: 30, d: 40, e: 50, f: 60 }));
// 3. Multiply DOMMatrix by DOMMatrix
testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60]).multiply(new DOMMatrix([10, 20, 30, 40, 50, 60])));
});
</script>