Chromium Code Reviews| Index: LayoutTests/fast/dom/Range/detach-no-op.html |
| diff --git a/LayoutTests/fast/dom/Range/detach-no-op.html b/LayoutTests/fast/dom/Range/detach-no-op.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..af78d951466be8b7ab96ff52ea0af68c123b99bd |
| --- /dev/null |
| +++ b/LayoutTests/fast/dom/Range/detach-no-op.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| +<link rel="help" href="http://dom.spec.whatwg.org/#dom-range-detach"> |
| +<script src="../../../resources/js-test.js"></script> |
| +</head> |
| +<body> |
| +<script> |
| +description("Tests that Range.detach() is a no-op."); |
| + |
| +var range = new Range(); |
| +shouldBe("range.startContainer", "document"); |
|
Yuta Kitamura
2014/04/28 09:27:38
Could you check the invariance of all attributes r
Inactive
2014/04/28 14:44:18
Done.
|
| +shouldNotThrow("range.detach()"); |
| +shouldBe("range.startContainer", "document"); |
| +</script> |
| +</body> |
| +</html> |