Fix to avoid attribute name clash between Document/HTMLDocument

Use children() instead of traverse_preorder(), and avoid having
GetHead() in both Document and HTMLDocument.

Closes #1465.
This commit is contained in:
Bruno de Oliveira Abinader 2014-01-08 15:26:44 -04:00
parent 728fb9a7de
commit b5eba001ef
4 changed files with 14 additions and 10 deletions

View file

@ -17,7 +17,7 @@ interface HTMLDocument : Document {
// getter object (DOMString name);
/*[SetterThrows]
attribute HTMLElement? body;*/
readonly attribute HTMLHeadElement? head;
// readonly attribute HTMLHeadElement? head;
readonly attribute HTMLCollection images;
readonly attribute HTMLCollection embeds;
readonly attribute HTMLCollection plugins;