diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-08 19:48:20 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-08 19:48:20 +0100 |
commit | 8a0a4d797f8954a3b1964c6e407d9291d4afc7ab (patch) | |
tree | f1c29feea5d4996d0da91bb6caebe82b1df33afe /spec | |
parent | eb17e6477a6ec62a05d4d6630c8fdcf5c6291b06 (diff) | |
download | svg.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.js | 2 |
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') |