Auto merge of #6568 - dzbarsky:delete_range, r=jdm

Implement Range#insertNode

Gecko doesn't really follow the spec but it seems to throw a HierarchyRequest error when parent is null.
Any ideas who I should talk to about fixing the spec to account for the null checks?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6568)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-16 10:56:17 -06:00
commit acf47a02cf
5 changed files with 172 additions and 3319 deletions

View file

@ -252,9 +252,6 @@
[Range interface: operation cloneContents()]
expected: FAIL
[Range interface: operation insertNode(Node)]
expected: FAIL
[Range interface: operation surroundContents(Node)]
expected: FAIL
@ -270,12 +267,6 @@
[Range interface: document.createRange() must inherit property "cloneContents" with the proper type (22)]
expected: FAIL
[Range interface: document.createRange() must inherit property "insertNode" with the proper type (23)]
expected: FAIL
[Range interface: calling insertNode(Node) on document.createRange() with too few arguments must throw TypeError]
expected: FAIL
[Range interface: document.createRange() must inherit property "surroundContents" with the proper type (24)]
expected: FAIL
@ -291,12 +282,6 @@
[Range interface: detachedRange must inherit property "cloneContents" with the proper type (22)]
expected: FAIL
[Range interface: detachedRange must inherit property "insertNode" with the proper type (23)]
expected: FAIL
[Range interface: calling insertNode(Node) on detachedRange with too few arguments must throw TypeError]
expected: FAIL
[Range interface: detachedRange must inherit property "surroundContents" with the proper type (24)]
expected: FAIL

File diff suppressed because it is too large Load diff