Loading…
Example: http://news.yahoo.com/
Currently using document.documentElement.scrollWidth and document.documentElement.scrollHeight to determine the size of the overlayed svg element. Need to add other sources of information to get better dimension information.
document.documentElement.scrollWidth
document.documentElement.scrollHeight
svg
this fixes #190
cf6d22c
The red svg elements appear misaligned on http://xkcd.com/.
Example: http://news.yahoo.com/
Currently using
document.documentElement.scrollWidthanddocument.documentElement.scrollHeightto determine the size of the overlayedsvgelement. Need to add other sources of information to get better dimension information.