HighlightRegistry-highlightsFromPoint.html

FAILExpected0 of 4 subtests pass1,291 ms

Details

Test
/shadow-dom/HighlightRegistry-highlightsFromPoint.html
Harness
OK

Subtests

StatusSubtestMessage
FAILCSS.highlights.highlightsFromPoint() should throw when called with nodes that are not ShadowRoot objects in options.
assert_throws_js: function "() => { CSS.highlights.highlightsFromPoint(10, 10, {shadowRoots: [container]}); }" did not throw
assert_throws_js: function "() => { CSS.highlights.highlightsFromPoint(10, 10, {shadowRoots: [container]}); }" did not throw
FAILCSS.highlights.highlightsFromPoint() returns Highlights present at a given point inside a shadow tree in the right order.
container.setHTMLUnsafe is not a function
container.setHTMLUnsafe is not a function
FAILCSS.highlights.highlightsFromPoint() doesn't return Highlights that are not painted at the given coordinates even when they fall inside the Highlights' ranges
container.setHTMLUnsafe is not a function
container.setHTMLUnsafe is not a function
FAILCSS.highlights.highlightsFromPoint() handles slotted light DOM content correctly.
container.setHTMLUnsafe is not a function
container.setHTMLUnsafe is not a function