A similar PR may already be submitted! Please search among the [Pull request](https://github.com/niklasvh/html2canvas/pulls) before creating one. Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: Before opening a pull request, please make sure all the tests pass locally by running `npm test`. **Summary** This PR fixes/implements the following **bugs/features** * [ ] Bug 1 * [ ] Bug 2 * [ ] Feature 1 * [ ] Feature 2 * [ ] Breaking changes Explain the **motivation** for making this change. What existing problem does the pull request solve? **Test plan (required)** Demonstrate how the issue/feature can be replicated. For most cases, simply adding an appropriate html/css template into the [reftests](https://github.com/niklasvh/html2canvas/tree/master/tests/reftests) should be sufficient. Please see other tests there for reference. **Code formatting** Please make sure that code adheres to the project code formatting. Running `npm run format` will automatically format your code correctly. **Closing issues** Fixes #