Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1053)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-scale.html

Issue 2459363002: [GeometryInterface] parameter of scale3d*() was changed. (Closed)
Patch Set: add test. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMMatrix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-scale.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-scale.html b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-scale.html
index 2f790fb47602113bab979a6ea6afbd20fc25e24b..86f874dce912d801eea224e9195b57d0ab967e93 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-scale.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-scale.html
@@ -56,6 +56,14 @@ test(function() {
test(function() {
var matrix = new DOMMatrix();
assert_identity_2d_matrix(matrix);
+ var result = matrix.scale3d();
+ assert_identity_2d_matrix(result);
+ assert_identity_2d_matrix(matrix);
+}, "DOMMatrix.scale3d()");
+
+test(function() {
+ var matrix = new DOMMatrix();
+ assert_identity_2d_matrix(matrix);
var result = matrix.scale3d(3);
assert_3d_matrix_equals(result, [3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1]);
assert_identity_2d_matrix(matrix);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMMatrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698