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:
parent
ff1bcc694d
commit
61c063f7b3
8 changed files with 61 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue