Index: LayoutTests/touchadjustment/pseudo-element-expected.txt |
diff --git a/LayoutTests/touchadjustment/big-div-expected.txt b/LayoutTests/touchadjustment/pseudo-element-expected.txt |
similarity index 90% |
copy from LayoutTests/touchadjustment/big-div-expected.txt |
copy to LayoutTests/touchadjustment/pseudo-element-expected.txt |
index 01e3b8f6c926e12ca0fa4d5fbebcb8c03f0deb03..052c7827edb57620962f522114c01f347ec7c433 100644 |
--- a/LayoutTests/touchadjustment/big-div-expected.txt |
+++ b/LayoutTests/touchadjustment/pseudo-element-expected.txt |
@@ -1,10 +1,9 @@ |
-Test touch adjustment on a large div. The adjusted touch point should lie inside the target element and within the touch area. |
+Test touch adjustment over pseudo elements. Pseudo elements should be candidates for adjustment, but should not themselves be returned as valid target nodes. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
- |
-Overlapping touch above the target should snap to the top of the target element. |
+Test touch area contained within the pseudo element. |
PASS adjustedNode.id is element.id |
PASS adjustedPoint.x >= targetBounds.left is true |
PASS adjustedPoint.x <= targetBounds.left + targetBounds.width is true |
@@ -15,7 +14,7 @@ PASS adjustedPoint.x <= touchBounds.x + touchBounds.width is true |
PASS adjustedPoint.y >= touchBounds.y is true |
PASS adjustedPoint.y <= touchBounds.y + touchBounds.height is true |
-Overlapping touch below the target should snap to the bottom of the target element. |
+Overlapping touch above the target should snap to the top of the pseudo element. |
PASS adjustedNode.id is element.id |
PASS adjustedPoint.x >= targetBounds.left is true |
PASS adjustedPoint.x <= targetBounds.left + targetBounds.width is true |
@@ -26,7 +25,7 @@ PASS adjustedPoint.x <= touchBounds.x + touchBounds.width is true |
PASS adjustedPoint.y >= touchBounds.y is true |
PASS adjustedPoint.y <= touchBounds.y + touchBounds.height is true |
-Overlapping touch left of the target should snap to the left side of the target element. |
+Overlapping touch below the target should snap to the bottom of the pseudo element. |
PASS adjustedNode.id is element.id |
PASS adjustedPoint.x >= targetBounds.left is true |
PASS adjustedPoint.x <= targetBounds.left + targetBounds.width is true |
@@ -37,7 +36,7 @@ PASS adjustedPoint.x <= touchBounds.x + touchBounds.width is true |
PASS adjustedPoint.y >= touchBounds.y is true |
PASS adjustedPoint.y <= touchBounds.y + touchBounds.height is true |
-Overlapping touch right of the target should snap to the right side of the target element. |
+Overlapping touch left of the target should snap to the left side of the pseudo element. |
PASS adjustedNode.id is element.id |
PASS adjustedPoint.x >= targetBounds.left is true |
PASS adjustedPoint.x <= targetBounds.left + targetBounds.width is true |
@@ -48,7 +47,7 @@ PASS adjustedPoint.x <= touchBounds.x + touchBounds.width is true |
PASS adjustedPoint.y >= touchBounds.y is true |
PASS adjustedPoint.y <= touchBounds.y + touchBounds.height is true |
-Test touch area contained within the target element. |
+Overlapping touch right of the target should snap to the right side of the pseudo element. |
PASS adjustedNode.id is element.id |
PASS adjustedPoint.x >= targetBounds.left is true |
PASS adjustedPoint.x <= targetBounds.left + targetBounds.width is true |
@@ -58,6 +57,7 @@ PASS adjustedPoint.x >= touchBounds.x is true |
PASS adjustedPoint.x <= touchBounds.x + touchBounds.width is true |
PASS adjustedPoint.y >= touchBounds.y is true |
PASS adjustedPoint.y <= touchBounds.y + touchBounds.height is true |
+ |
PASS successfullyParsed is true |
TEST COMPLETE |