Auto merge of #7592 - nox:nonelementparentnode, r=jdm

Introduce NonElementParentNode

This is the interface where Document.getElementById() belong.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7592)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-09-10 07:29:47 -06:00
commit 4c64c870c6
5 changed files with 27 additions and 10 deletions

View file

@ -123,21 +123,12 @@
[DocumentFragment interface: existence and properties of interface object]
expected: FAIL
[DocumentFragment interface: operation getElementById(DOMString)]
expected: FAIL
[DocumentFragment interface: operation query(DOMString)]
expected: FAIL
[DocumentFragment interface: operation queryAll(DOMString)]
expected: FAIL
[DocumentFragment interface: document.createDocumentFragment() must inherit property "getElementById" with the proper type (0)]
expected: FAIL
[DocumentFragment interface: calling getElementById(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError]
expected: FAIL
[DocumentFragment interface: document.createDocumentFragment() must inherit property "query" with the proper type (7)]
expected: FAIL