Object tag with svg being ignored at contents() #4045
Closed
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
First of all, thank you very much for this project and for your work!
Description
A regression could have been introduced in this commit 3e3b09d and, as it is returning
documentContentonly for<iframe>, it is no longer possible to access the document content of an<object>with an svg provided in thedataattribute.For example this would stop working since version
3.2.0:Test link
The test to reproduce this bug would need a
svgin the same domain, as it isn't possible to upload it to any of the platforms, I cannot provide a test link. However, I've prepared a PR with the fix and the test case provided in it is the following:The text was updated successfully, but these errors were encountered: