Document-caretPositionFromPoint.tentative.html

FAILExpected1 of 14 subtests pass411 ms

Details

Test
/shadow-dom/Document-caretPositionFromPoint.tentative.html
Harness
OK

Subtests

StatusSubtestMessage
PASSdocument.caretPositionFromPoint() throws when called without the correct parameters
FAILdocument.caretPositionFromPoint() should return a CaretPosition at the specified location
container.setHTMLUnsafe is not a function
container.setHTMLUnsafe is not a function
FAILdocument.caretPositionFromPoint() should return a CaretPosition at the specified location pointing to an input element which is the offsetNode.
container.setHTMLUnsafe is not a function
container.setHTMLUnsafe is not a function
FAILdocument.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"
promise_test: Unhandled rejection with value: object "TypeError: container.setHTMLUnsafe is not a function"
FAILdocument.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"
promise_test: Unhandled rejection with value: object "TypeError: container.setHTMLUnsafe is not a function"
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function
FAILdocument.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
container.setHTMLUnsafe is not a function