Auto merge of #10512 - KiChjang:base-element-attr, r=Ms2ger

Implement HTMLBaseElement attributes

The remaining test failure in `base_multiple.html` looks like there's a problem with the test itself (it does not have a `<base>` tag at all).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10512)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-13 18:51:42 +05:30
commit 3ad1b9134f
7 changed files with 33 additions and 37 deletions

View file

@ -1,5 +0,0 @@
[open-url-base-inserted.htm]
type: testharness
[XMLHttpRequest: open() resolving URLs - insert ]
expected: FAIL

View file

@ -1977,16 +1977,13 @@
[HTMLHtmlElement interface: document.createElement("html") must inherit property "version" with the proper type (0)]
expected: FAIL
[HTMLBaseElement interface: attribute href]
expected: FAIL
[HTMLBaseElement interface: attribute target]
expected: FAIL
[HTMLBaseElement interface: document.createElement("base") must inherit property "href" with the proper type (0)]
[HTMLBaseElement interface: document.createElement("base") must inherit property "target" with the proper type (1)]
expected: FAIL
[HTMLBaseElement interface: document.createElement("base") must inherit property "target" with the proper type (1)]
[HTMLLinkElement interface: attribute crossOrigin]
expected: FAIL
[HTMLLinkElement interface: attribute sizes]
@ -8898,6 +8895,3 @@
[Document interface: new Document() must inherit property "onwaiting" with the proper type (156)]
expected: FAIL
[HTMLLinkElement interface: attribute crossOrigin]
expected: FAIL

View file

@ -1,8 +0,0 @@
[base_href_empty.html]
type: testharness
[The value of the href attribute must be the document's address if it is empty]
expected: FAIL
[The src attribute of the img element must relative to document's address]
expected: FAIL

View file

@ -1,5 +0,0 @@
[base_href_specified.sub.html]
type: testharness
[The href attribute of the base element is specified]
expected: FAIL

View file

@ -1,8 +0,0 @@
[base_href_unspecified.html]
type: testharness
[The value of the href attribute must be the document's address if it is unspecified]
expected: FAIL
[The src attribute of the img element must relative to document's address]
expected: FAIL