summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-09-03 15:57:39 +0200
committerwout <wout@impinc.co.uk>2014-09-03 15:57:39 +0200
commit89f3a26e94e716fc8ed14a44a273013ff7ef1cea (patch)
tree4f91420b8914b0f0a94004cefd88e0acc8877b0a /spec
parent2649e3153e82f840365ce26564be96e0385199ce (diff)
downloadsvg.js-89f3a26e94e716fc8ed14a44a273013ff7ef1cea.tar.gz
svg.js-89f3a26e94e716fc8ed14a44a273013ff7ef1cea.zip
Fix in RBox
Diffstat (limited to 'spec')
-rwxr-xr-xspec/spec/boxes.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/spec/boxes.js b/spec/spec/boxes.js
index a6ff0bf..6afef0d 100755
--- a/spec/spec/boxes.js
+++ b/spec/spec/boxes.js
@@ -165,16 +165,16 @@ describe('Boxes', function() {
})
it('matches the size of the target element, including transformations', function() {
var box = rect.tbox()
- expect(box.x).toBe(60)
- expect(box.y).toBe(281)
- expect(box.cx).toBe(110)
- expect(box.cy).toBe(551)
+ expect(box.x).toBe(35)
+ expect(box.y).toBe(101)
+ expect(box.cx).toBe(85)
+ expect(box.cy).toBe(371)
expect(box.width).toBe(100)
expect(box.height).toBe(540)
expect(box.w).toBe(100)
expect(box.h).toBe(540)
- expect(box.x2).toBe(160)
- expect(box.y2).toBe(821)
+ expect(box.x2).toBe(135)
+ expect(box.y2).toBe(641)
})
})