Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling SVG images doesn't work #5

Open
woky opened this issue Dec 6, 2015 · 2 comments
Open

Scrolling SVG images doesn't work #5

woky opened this issue Dec 6, 2015 · 2 comments

Comments

@woky
Copy link

woky commented Dec 6, 2015

For instance, on load of this URL
https://upload.wikimedia.org/wikipedia/commons/1/1a/SVG_example_markup_grid.svg
the following error is reported:

Error in response to storage.get: TypeError: Cannot read property 'setProperty' of undefined
    at Object.callback (chrome-extension://occjjkgifpmdgodlplnacmkejpdionan/data/AutoScroll.js:165:14)
    at chrome-extension://occjjkgifpmdgodlplnacmkejpdionan/data/AutoScroll.js:4:22

OTOH, scrolling PNG images seems to work just fine.

@Pauan
Copy link
Owner

Pauan commented Dec 6, 2015

Thanks for reporting this.

It seems that it's rather difficult to display HTML nodes inside of SVG.

So, I might not be able to fix this.

@Pauan
Copy link
Owner

Pauan commented Jan 9, 2016

I just released version 4.6 of AutoScroll, which adds in partial support for SVG.

It is now possible to scroll SVG documents.

However, the circular icon does not show up.

The reason is because SVG does not allow for positioning elements absolutely or in fixed position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants