• Robert Knight's avatar
    Remove iframe size check · d8eedc34
    Robert Knight authored
    Since we now only enable annotation of iframes that are explicitly opted
    in by the containing page, we can avoid checking the size of the iframe
    as well. That check was originally added to filter out ads and hidden
    iframes.
    
    This resolves an issue with Epub.js where an iframe initially has zero
    width. This is because book content is laid out into a variable number
    of fixed-width columns and the iframe's width is set to the total width
    of all columns. Until the content is loaded, the number of columns and
    hence the width, is zero.
    d8eedc34
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
yarn.lock Loading commit data...