blob: 9a20e7b1a4bdcf4c068766367abbd27c19fe2258 [file] [log] [blame]
CONSOLE WARNING: line 42: Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.
Test the case where a clickable target contains a shadow-DOM element. The adjusted point should snap to the location of the shadow-DOM element if close enough to the original touch position.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS adjusted node was DIV#targetDiv.
PASS adjustedPoint.x is within 10 of 88
PASS adjustedPoint.y is within 10 of 28
PASS adjusted node was DIV#targetDiv.
PASS adjustedPoint.x is within 10 of 88
PASS adjustedPoint.y is within 10 of 28
PASS adjusted node was DIV#targetDiv.
PASS adjustedPoint.x is within 10 of 88
PASS adjustedPoint.y is within 10 of 28
PASS adjusted node was DIV#targetDiv.
PASS adjustedPoint.x is within 10 of 88
PASS adjustedPoint.y is within 10 of 28
PASS adjusted node was DIV#targetDiv.
PASS adjustedPoint.x is within 1 of 58
PASS adjustedPoint.y is within 1 of 58
PASS successfullyParsed is true
TEST COMPLETE