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

Side by Side Diff: LayoutTests/fast/dom/geometry-interfaces-dom-rect-expected.txt

Issue 403383002: Implement DOMRect of geometry interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/dom/geometry-interfaces-dom-rect.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # DOMRect()
2 PASS rect.x is 0
3 PASS rect.y is 0
4 PASS rect.width is 0
5 PASS rect.height is 0
6 PASS rect.top is 0
7 PASS rect.right is 0
8 PASS rect.bottom is 0
9 PASS rect.left is 0
10 PASS rect.top is rect.y
11 PASS rect.right is rect.x + rect.width
12 PASS rect.bottom is rect.y + rect.height
13 PASS rect.left is rect.x
14
15 # DOMRect(10)
16 PASS rect.x is 10
17 PASS rect.y is 0
18 PASS rect.width is 0
19 PASS rect.height is 0
20 PASS rect.top is 0
21 PASS rect.right is 10
22 PASS rect.bottom is 0
23 PASS rect.left is 10
24 PASS rect.top is rect.y
25 PASS rect.right is rect.x + rect.width
26 PASS rect.bottom is rect.y + rect.height
27 PASS rect.left is rect.x
28
29 # DOMRect(10, 20)
30 PASS rect.x is 10
31 PASS rect.y is 20
32 PASS rect.width is 0
33 PASS rect.height is 0
34 PASS rect.top is 20
35 PASS rect.right is 10
36 PASS rect.bottom is 20
37 PASS rect.left is 10
38 PASS rect.top is rect.y
39 PASS rect.right is rect.x + rect.width
40 PASS rect.bottom is rect.y + rect.height
41 PASS rect.left is rect.x
42
43 # DOMRect(10, 20, 80)
44 PASS rect.x is 10
45 PASS rect.y is 20
46 PASS rect.width is 80
47 PASS rect.height is 0
48 PASS rect.top is 20
49 PASS rect.right is 90
50 PASS rect.bottom is 20
51 PASS rect.left is 10
52 PASS rect.top is rect.y
53 PASS rect.right is rect.x + rect.width
54 PASS rect.bottom is rect.y + rect.height
55 PASS rect.left is rect.x
56
57 # DOMRect(10, 20, 80, 50)
58 PASS rect.x is 10
59 PASS rect.y is 20
60 PASS rect.width is 80
61 PASS rect.height is 50
62 PASS rect.top is 20
63 PASS rect.right is 90
64 PASS rect.bottom is 70
65 PASS rect.left is 10
66 PASS rect.top is rect.y
67 PASS rect.right is rect.x + rect.width
68 PASS rect.bottom is rect.y + rect.height
69 PASS rect.left is rect.x
70
71 # DOMRect setter
72 PASS rect.x is 30
73 PASS rect.left is 30
74 PASS rect.width is 80
75 PASS rect.right is 110
76 PASS rect.y is -10
77 PASS rect.top is -10
78 PASS rect.height is 50
79 PASS rect.bottom is 40
80 PASS rect.x is 30
81 PASS rect.left is 30
82 PASS rect.width is 20
83 PASS rect.right is 50
84 PASS rect.y is -10
85 PASS rect.top is -10
86 PASS rect.height is 40
87 PASS rect.bottom is 30
88
89 # DOMRect(10, 20, -80, -50) negative width and height
90 PASS rect.x is 10
91 PASS rect.y is 20
92 PASS rect.width is -80
93 PASS rect.height is -50
94 PASS rect.top is -30
95 PASS rect.right is 10
96 PASS rect.bottom is 20
97 PASS rect.left is -70
98 PASS rect.top is rect.y + rect.height
99 PASS rect.right is rect.x
100 PASS rect.bottom is rect.y
101 PASS rect.left is rect.x + rect.width
102
103 # DOMRectReadOnly(10, 20, 80, 50)
104 PASS rect.x is 10
105 PASS rect.y is 20
106 PASS rect.width is 80
107 PASS rect.height is 50
108 PASS rect.top is 20
109 PASS rect.right is 90
110 PASS rect.bottom is 70
111 PASS rect.left is 10
112 PASS rect.top is rect.y
113 PASS rect.right is rect.x + rect.width
114 PASS rect.bottom is rect.y + rect.height
115 PASS rect.left is rect.x
116
117 # DOMRectReadOnly readonly test
118 PASS rect.x is 10
119 PASS rect.y is 20
120 PASS rect.width is 80
121 PASS rect.height is 50
122 PASS rect.top is 20
123 PASS rect.right is 90
124 PASS rect.bottom is 70
125 PASS rect.left is 10
126 PASS rect.top is rect.y
127 PASS rect.right is rect.x + rect.width
128 PASS rect.bottom is rect.y + rect.height
129 PASS rect.left is rect.x
130
131 PASS successfullyParsed is true
132
133 TEST COMPLETE
134
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/geometry-interfaces-dom-rect.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698