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

Unified Diff: LayoutTests/fast/dom/geometry-interfaces-dom-point-expected.txt

Issue 404803002: Implement DOMPoint of geometry interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed comments Created 6 years, 5 months 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
Index: LayoutTests/fast/dom/geometry-interfaces-dom-point-expected.txt
diff --git a/LayoutTests/fast/dom/geometry-interfaces-dom-point-expected.txt b/LayoutTests/fast/dom/geometry-interfaces-dom-point-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efff6d6e10f592eec0097106f80c64d9c3dcf2f0
--- /dev/null
+++ b/LayoutTests/fast/dom/geometry-interfaces-dom-point-expected.txt
@@ -0,0 +1,64 @@
+# DOMPoint(2, 3)
+PASS point.x is 2
+PASS point.y is 3
+PASS point.z is 0
+PASS point.w is 1
+
+# DOMPoint(5, 7, 9)
+PASS point.x is 5
+PASS point.y is 7
+PASS point.z is 9
+PASS point.w is 1
+
+# DOMPoint(8, 2, 1, 6)
+PASS point.x is 8
+PASS point.y is 2
+PASS point.z is 1
+PASS point.w is 6
+
+# DOMPoint({ x : 2 })
+PASS point.x is 2
+PASS point.y is 0
+PASS point.z is 0
+PASS point.w is 1
+
+# DOMPoint({ y : 2 })
+PASS point.x is 0
+PASS point.y is 2
+PASS point.z is 0
+PASS point.w is 1
+
+# DOMPoint({ z : 2 })
+PASS point.x is 0
+PASS point.y is 0
+PASS point.z is 2
+PASS point.w is 1
+
+# DOMPoint({ w : 2 })
+PASS point.x is 0
+PASS point.y is 0
+PASS point.z is 0
+PASS point.w is 2
+
+# DOMPoint({ x : 2, y : 3, z : 4, w : 5 })
+PASS point.x is 2
+PASS point.y is 3
+PASS point.z is 4
+PASS point.w is 5
+
+# DOMPoint()
+PASS point.x is 0
+PASS point.y is 0
+PASS point.z is 0
+PASS point.w is 1
+
+# DOMPoint setter
+PASS point.x is 10
+PASS point.y is 20
+PASS point.z is 30
+PASS point.w is 40
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698