Tim Ledbetter
1560bfc6c9
LibWeb: Ensure DOMRect top, bottom, left and right handle NaN correctly
2024-02-21 19:38:17 +01:00
Tim Ledbetter
b03c94c26e
Tests/LibWeb: Add tests for DOMRect construction
2024-02-21 19:38:17 +01:00
Tim Ledbetter
fe66aeb225
LibWeb: Validate arguments when creating DOMPoint from matrix transform
...
Previously, it was possible to create a DOMPoint from a matrix
transform with inconsistent arguments. A TypeError is now thrown in
this case.
2024-02-21 19:38:17 +01:00
Tim Ledbetter
c5d1ec4dea
LibWeb/CSS: Ensure length is absolute before converting to pixels
...
Previously, creating a DOMMatrix with a transform that contained
non-absolute units would cause a crash.
2024-02-21 19:38:17 +01:00
Tim Ledbetter
5136b495a6
LibWeb: Use NaN safe min() and max() functions to compute DOMQuad bounds
2024-02-21 19:38:17 +01:00
Bastiaan van der Plaat
be7538961b
LibWeb: Add DOMMatrix string constructor and set matrix value
2024-01-07 13:15:53 +01:00
Bastiaan van der Plaat
c1ba3e5fa9
LibWeb: Add support for LegacyWindowAlias IDL extended attribute
2024-01-05 18:28:48 +01:00
Bastiaan van der Plaat
3c27843cfe
LibWeb: Add DOMMatrix fromFloat32Array and fromFloat64Array
2023-10-03 16:15:14 -06:00
Bastiaan van der Plaat
2e122b16e4
LibWeb: Add DOMMatrix toFloat32Array and toFloat64Array
2023-10-03 16:15:14 -06:00
Bastiaan van der Plaat
6265c544f9
LibWeb: Add DOMMatrix rotate, rotateFromVector and rotateAxisAngle
2023-09-24 20:02:38 -06:00
Bastiaan van der Plaat
42c2a67c83
LibWeb: Add DOMMatrix scale and scale3d
2023-09-24 20:02:38 -06:00
Bastiaan van der Plaat
67f6a9ee12
LibWeb: Fix DOMMatrix fromMatrix to use complete DOMMatrixInit struct
...
DOMMatrix fromMatrix was using create_from_dom_matrix_2d_init to make
a DOMMatrix for it's init struct this is wrong because only the 2D
params of the DOMMatrix are put into the new matrix. I have added
a non 2D version of that function that takes the full DOMMatrixInit
so now fromMatrix works correctly again. I also have added some
text tests to test if it works correctly.
I split the dommatrix.html text tests into multiple files because that
file was becoming to big so now every sub function is a seperate file.
2023-09-24 20:02:38 -06:00
Bastiaan van der Plaat
f1742ae1b9
LibWeb: Add DOMMatrix flipX and flipY
2023-09-05 20:30:36 +02:00
Bastiaan van der Plaat
fc380bf516
LibWeb: Add DOMMatrix skewX and skewY
2023-09-05 20:30:36 +02:00
Bastiaan van der Plaat
5cd35b633a
LibWeb: Add DOMMatrix translate
2023-09-03 15:05:41 +02:00
Bastiaan van der Plaat
61c063f7b3
LibWeb: Add DOMMatrix multiply
2023-09-03 15:05:41 +02:00
Bastiaan van der Plaat
ff1bcc694d
LibWeb: Add DOMMatrix and DOMMatrixReadOnly fromMatrix
2023-09-03 15:05:41 +02:00
Bastiaan van der Plaat
b4ae719664
LibWeb: Add DOMPoint matrixTransform and DOMMatrix transformPoint
2023-09-01 20:58:13 +02:00
Bastiaan van der Plaat
c88f14902b
LibWeb: Add DOMQuad and text tests
2023-08-23 12:11:21 +01:00