Title: [217764] trunk
Revision 217764
Author cdu...@apple.com
Date 2017-06-03 18:54:14 -0700 (Sat, 03 Jun 2017)
Log Message
Implement DOMMatrix's fromFloat32Array / fromFloat64Array & toFloat32Array / toFloat64Array
https://bugs.webkit.org/show_bug.cgi?id=172898
Reviewed by Sam Weinig.
LayoutTests/imported/w3c:
Rebaseline web-platform-test now that more checks are passing.
* web-platform-tests/css/geometry-1/DOMMatrix-newobject-expected.txt:
Source/WebCore:
Implement DOMMatrix's fromFloat32Array / fromFloat64Array & toFloat32Array / toFloat64Array
as per:
- https://drafts.fxtf.org/geometry/#dommatrixreadonly
Test: http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html
* css/DOMMatrix.cpp:
(WebCore::DOMMatrix::fromFloat32Array):
(WebCore::DOMMatrix::fromFloat64Array):
* css/DOMMatrix.h:
* css/DOMMatrix.idl:
* css/DOMMatrixReadOnly.cpp:
(WebCore::DOMMatrixReadOnly::fromFloat32Array):
(WebCore::DOMMatrixReadOnly::fromFloat64Array):
(WebCore::DOMMatrixReadOnly::toFloat32Array):
(WebCore::DOMMatrixReadOnly::toFloat64Array):
* css/DOMMatrixReadOnly.h:
* css/DOMMatrixReadOnly.idl:
LayoutTests:
Add layout test coverage.
* http/wpt/geometry/DOMMatrix-from-to-typed-arrays-expected.txt: Added.
* http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html: Added.
Modified Paths
trunk/LayoutTests/ChangeLog
trunk/LayoutTests/imported/w3c/ChangeLog
trunk/LayoutTests/imported/w3c/web-platform-tests/css/geometry-1/DOMMatrix-newobject-expected.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/css/DOMMatrix.cpp
trunk/Source/WebCore/css/DOMMatrix.h
trunk/Source/WebCore/css/DOMMatrix.idl
trunk/Source/WebCore/css/DOMMatrixReadOnly.cpp
trunk/Source/WebCore/css/DOMMatrixReadOnly.h
trunk/Source/WebCore/css/DOMMatrixReadOnly.idl
Added Paths
trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays-expected.txt
trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html
Diff
Modified: trunk/LayoutTests/ChangeLog (217763 => 217764)
--- trunk/LayoutTests/ChangeLog 2017-06-03 21:09:00 UTC (rev 217763)
+++ trunk/LayoutTests/ChangeLog 2017-06-04 01:54:14 UTC (rev 217764)
@@ -1,3 +1,15 @@
+2017-06-03 Chris Dumez
+
+Implement DOMMatrix's fromFloat32Array / fromFloat64Array & toFloat32Array / toFloat64Array
+https://bugs.webkit.org/show_bug.cgi?id=172898
+
+Reviewed by Sam Weinig.
+
+Add layout test coverage.
+
+* http/wpt/geometry/DOMMatrix-from-to-typed-arrays-expected.txt: Added.
+* http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html: Added.
+
2017-06-03 Simon Fraser
Implement DOMPointReadOnly.matrixTransform()
Added: trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays-expected.txt (0 => 217764)
--- trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays-expected.txt (rev 0)
+++ trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays-expected.txt 2017-06-04 01:54:14 UTC (rev 217764)
@@ -0,0 +1,12 @@
+
+PASS DOMMatrixReadOnly.fromFloat32Array (error cases)
+PASS DOMMatrixReadOnly.fromFloat32Array
+PASS DOMMatrixReadOnly.fromFloat64Array (error cases)
+PASS DOMMatrixReadOnly.fromFloat64Array
+PASS DOMMatrix.fromFloat32Array (error cases)
+PASS DOMMatrix.fromFloat32Array
+PASS DOMMatrix.fromFloat64Array (error cases)
+PASS DOMMatrix.fromFloat64Array
+PASS DOMMatrixReadonly.toFloat32Array
+PASS DOMMatrixReadonly.toFloat64Array
+
Added: trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html (0 => 217764)
--- trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html (rev 0)
+++ trunk/LayoutTests/http/wpt/geometry/DOMMatrix-from-to-typed-arrays.html 2017-06-04 01:54:14 UTC (rev 217764)
@@ -0,0 +1,85 @@
+
+
+
+Geometry Interfaces: DOMMatrix conversion to and from typed arrays
+
+
+
+
+