Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / rangeCount.html
index acc9f85..6360485 100644 (file)
@@ -27,7 +27,7 @@ function runTest() {
         if (sel.rangeCount != 0)
             log("Failure.  Expected: rangeCount == 0, Found: " + sel.rangeCount);
         
-        sel.setPosition(text, 0);
+        sel.collapse(text, 0);
         if (sel.rangeCount != 1)
             log("Failure.  Expected: rangeCount == 1, Found: " + sel.rangeCount);