From 06ffe532c2841ae73816b03426f6db9bf2b65143 Mon Sep 17 00:00:00 2001 From: Arran Ireland Date: Sun, 27 Jul 2025 12:48:27 +0100 Subject: [PATCH] LibWeb: Ensure cast to double for double matrix --- Libraries/LibWeb/Geometry/DOMMatrixReadOnly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.cpp b/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.cpp index e616fea501a..23ddc285c15 100644 --- a/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.cpp +++ b/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.cpp @@ -992,7 +992,7 @@ WebIDL::ExceptionOr parse_dom_matrix_init_string(JS::Realm& realm, static_cast(matrix[0, 0]), static_cast(matrix[0, 1]), static_cast(matrix[0, 2]), static_cast(matrix[0, 3]), static_cast(matrix[1, 0]), static_cast(matrix[1, 1]), static_cast(matrix[1, 2]), static_cast(matrix[1, 3]), static_cast(matrix[2, 0]), static_cast(matrix[2, 1]), static_cast(matrix[2, 2]), static_cast(matrix[2, 3]), - static_cast(matrix[3, 0]), static_cast(matrix[3, 1]), static_cast(matrix[3, 2]), static_cast(matrix[3, 3]) + static_cast(matrix[3, 0]), static_cast(matrix[3, 1]), static_cast(matrix[3, 2]), static_cast(matrix[3, 3]) }; return ParsedMatrix { double_matrix, is_2d_transform }; }