Hi there!
We use jsdom at Coursera for testing our JS libraries and Backbone views.
I'm currently working on testing
https://github.com/xing/wysihtml5, and I realized my tests are failing because JSdom is detected as an unsupported browser, due to these 2 tests failing:
hasContentEditableSupport = "contentEditable" in testElement,
hasEditingApiSupport = document.execCommand && document.queryCommandSupported && document.queryCommandState
Basically, it doesn't support content-editable and the related functions.
I searched issues on jsdom and didn't see anything relevant to content editable. Has anyone encountered this before? Anyone happen to be working on it already?
I have to admit I haven't looked into the jsdom internals so I don't know the details of how it works and how difficult it would be to patch it to support content editable,
am hoping you folks can help me understand that.
Thanks!
- pamela