Source code

Revision control

Copy as Markdown

Other Tools

[caretRangeFromPoint.tentative.html]
[document.caretRangeFromPoint() (no supplied coordinates) returns Range with 0 0 values]
expected: FAIL
[document.caretRangeFromPoint() should return null for a document with no viewport]
expected: FAIL
[document.caretRangeFromPoint() should return null if given coordinates outside of the viewport]
expected: FAIL
[document.caretRangeFromPoint() should return a Range at the specified location]
expected: FAIL
[document.caretRangeFromPoint() should return a client rect close to the given coords]
expected: FAIL
[document.caretRangeFromPoint() on a shadow should return a Range pointing at the same node as caretPositionFromPoint]
expected: FAIL
[document.caretRangeFromPoint() on a textarea should return a Range pointing at canvas]
expected: FAIL