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

CSSKeyframesRule cssText Permission Denied on Internet Explorer 11 #1830

Closed
2 tasks done
Lemonilla opened this issue May 9, 2019 · 1 comment
Closed
2 tasks done

Comments

@Lemonilla
Copy link

Lemonilla commented May 9, 2019

Please follow the general troubleshooting steps first:

  • You are using the latest version
  • You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:

When running on Internet Explorer 11 the reduce anonymous function in Clone.js on line 235 throws an "Error: Member not Found" when processing a rule of type CSSKeyframesRule. These have cssText of when output to the console. This does not seem to effect Chrome as the cssText is not denied.

Screenshot of the error logs:
html2canvas error text

html2canvas_with_extra_logging.txt is the doctored file that provides the logging shown in the screenshots. This error also occurs without the edits.

Specifications:

  • html2canvas version tested with: 1.0.0-rc.1
  • Browser & version: Internet Explorer 11 (11.706.17134.0)
  • Operating system: Windows 10
  • Angular version: 6.1.1
  • Packages: package.txt
@niklasvh
Copy link
Owner

fixed with bc270bb

niklasvh added a commit that referenced this issue May 25, 2019
* initial typescript conversion

* test: update overflow+transform ref test

* fix: correctly render pseudo element content

* fix: testrunner build

* fix: karma test urls

* test: update underline tests with <u> elements

* test: update to es6-promise polyfill

* test: remove watch from server

* test: remove flow

* format: update prettier for typescript

* test: update eslint to use typescript parser

* test: update linear gradient reftest

* test: update test runner

* test: update testrunner promise polyfill

* fix: handle display: -webkit-flex correctly (fix #1817)

* fix: correctly render gradients with clip & repeat (fix #1773)

* fix: webkit-gradient function support

* fix: implement radial gradients

* fix: text-decoration rendering

* fix: missing scroll positions for elements

* ci: fix ios 11 tests

* fix: ie logging

* ci: improve device availability logging

* fix: lint errors

* ci: update to ios 12

* fix: check for console availability

* ci: fix build dependency

* test: update text reftests

* fix: window reference for unit tests

* feat: add hsl/hsla color support

* fix: render options

* fix: CSSKeyframesRule cssText Permission Denied on Internet Explorer 11 (#1830)

* fix: option lint

* fix: list type rendering

* test: fix platform import

* fix: ie css parsing for numbers

* ci: add minified build

* fix: form element rendering

* fix: iframe rendering

* fix: re-introduce experimental foreignobject renderer

* fix: text-shadow rendering

* feat: improve logging

* fix: unit test logging

* fix: cleanup resources

* test: update overflow scrolling to work with ie

* build: update build to include typings

* fix: do not parse select element children

* test: fix onclone test to work with older IEs

* test: reduce reftest canvas sizes

* test: remove dynamic setUp from list tests

* test: update linear-gradient tests

* build: remove old source files

* build: update docs dependencies

* build: fix typescript definition path

* ci: include test.js on docs website
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