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

fix: ensure CSSOM ownerNode content is present #418

Merged
merged 1 commit into from
Nov 5, 2019
Merged

Conversation

Robdel12
Copy link
Contributor

@Robdel12 Robdel12 commented Nov 5, 2019

What is this?

Turns out, innerText can return undefined (for reasons?), so we should ensure there is something present before trying to check the length of it. See this for a reproduction: https://jsfiddle.net/nbpqaz97/1/

Will close #416 #417 (and maybe #415)

@Robdel12 Robdel12 merged commit 7d1be16 into master Nov 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the rd/fix-cssom branch November 5, 2019 22:50
This was referenced Nov 5, 2019
djones pushed a commit that referenced this pull request Nov 5, 2019
## [0.19.7](v0.19.6...v0.19.7) (2019-11-05)

### Bug Fixes

* ensure CSSOM ownerNode content is present ([#418](#418)) ([7d1be16](7d1be16))
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

Successfully merging this pull request may close these issues.

isCSSOM failing on a stylesheet
1 participant