aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-08 19:48:20 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-08 19:48:20 +0100
commit8a0a4d797f8954a3b1964c6e407d9291d4afc7ab (patch)
treef1c29feea5d4996d0da91bb6caebe82b1df33afe /spec
parenteb17e6477a6ec62a05d4d6630c8fdcf5c6291b06 (diff)
downloadsvg.js-8a0a4d797f8954a3b1964c6e407d9291d4afc7ab.tar.gz
svg.js-8a0a4d797f8954a3b1964c6e407d9291d4afc7ab.zip
Fix offset produced by svg parser (#553)
Diffstat (limited to 'spec')
-rw-r--r--spec/spec/svg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/svg.js b/spec/spec/svg.js
index 311a69a..318b948 100644
--- a/spec/spec/svg.js
+++ b/spec/spec/svg.js
@@ -98,7 +98,7 @@ describe('SVG', function() {
expect(SVG.parser.draw.node.nodeName).toBe('svg')
})
it('hides the parser', function() {
- expect(SVG.parser.draw.node.getAttribute('style')).toBe('opacity: 0; position: fixed; left: 100%; top: 100%; overflow: hidden;')
+ expect(SVG.parser.draw.node.getAttribute('style')).toBe('opacity: 0; position: absolute; left: -100%; top: -100%; overflow: hidden;')
})
it('holds polyline and path', function() {
expect(SVG.select('polyline', SVG.parser.draw.node).first().type).toBe('polyline')