| Index: third_party/WebKit/LayoutTests/external/wpt/selection/collapse.js
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse.js b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse.js
|
| index 1894aad92b2ab4e418cd5e69244cb48c5f253545..7c97e2725d6ebb771ae506d4b07df767e798a88d 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse.js
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse.js
|
| @@ -22,6 +22,13 @@ function testCollapse(range, point) {
|
| return;
|
| }
|
|
|
| + if (!document.contains(point[0])) {
|
| + assertSelectionNoChange(function() {
|
| + selection.collapse(point[0], point[1]);
|
| + });
|
| + return;
|
| + }
|
| +
|
| selection.collapse(point[0], point[1]);
|
|
|
| assert_equals(selection.rangeCount, 1,
|
|
|