Document-caretPositionFromPoint.tentative.html
Details
- Test
/shadow-dom/Document-caretPositionFromPoint.tentative.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | document.caretPositionFromPoint() throws when called without the correct parameters |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to an input element which is the offsetNode. container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to a textarea element which is the offsetNode. promise_test: Unhandled rejection with value: object "TypeError: container.setHTMLUnsafe is not a function" |
| FAIL | document.caretPositionFromPoint() for a point after a forced break should return a CaretPosition at the specified location pointing to a textarea element which is the offsetNode. promise_test: Unhandled rejection with value: object "TypeError: container.setHTMLUnsafe is not a function" |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to a closed shadow tree when the shadow tree is specified as an argument container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location when the non-intersecting shadow tree is specified as an argument container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to an input element when the shadow tree is specified as an argument. container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to the input element's shadow host's parent when the shadow tree is not specified as an argument. container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to the shadow host's parent when the shadow tree is not specified as an argument container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to the outer shadow host's parent when the point is in an inner shadow tree and no shadow tree is specified as an argument container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to the inner shadow tree when the point is in an inner shadow tree and the inner shadow tree is specified as an argument container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to the outer shadow tree when the point is in an inner shadow tree and the outer shadow tree is specified as an argument container.setHTMLUnsafe is not a function |
| FAIL | document.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to the inner shadow tree when the point is in an inner shadow tree and the inner shadow tree and the outer shadow tree are specified as an argument container.setHTMLUnsafe is not a function |