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
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
36 PASS rect.bottom is 20
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
50 PASS rect.bottom is 20
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
57 # DOMRect(10, 20, 80, 50)
61 PASS rect.height is 50
64 PASS rect.bottom is 70
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
75 PASS rect.right is 110
78 PASS rect.height is 50
79 PASS rect.bottom is 40
86 PASS rect.height is 40
87 PASS rect.bottom is 30
89 # DOMRect(10, 20, -80, -50) negative width and height
92 PASS rect.width is -80
93 PASS rect.height is -50
96 PASS rect.bottom is 20
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
103 # DOMRectReadOnly(10, 20, 80, 50)
106 PASS rect.width is 80
107 PASS rect.height is 50
109 PASS rect.right is 90
110 PASS rect.bottom is 70
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
117 # DOMRectReadOnly readonly test
120 PASS rect.width is 80
121 PASS rect.height is 50
123 PASS rect.right is 90
124 PASS rect.bottom is 70
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
131 PASS successfullyParsed is true