Enable template tests

All tests using iframes can't currently pass, same for innerHTML-related tests
with <template> elements. The latter contradicts the spec, see the links below.

https://github.com/servo/html5ever/issues/164
https://github.com/w3c/DOM-Parsing/issues/1
This commit is contained in:
Anthony Ramine 2015-09-02 23:50:20 +02:00
parent e2b8febfd5
commit 880364b56d
19 changed files with 135 additions and 1 deletions

View file

@ -0,0 +1,23 @@
[content-attribute.html]
type: testharness
[Content attribute of template element is read-only. Test empty template]
expected: FAIL
[Content attribute of template element is read-only. Test not empty template populated by appendchild()]
expected: FAIL
[Content attribute of template element is read-only. Test not empty template populated by innerHTML]
expected: FAIL
[Content attribute of template element is read-only. Test that custom content attribute named 'content' doesn't make content IDL attribute writable]
expected: FAIL
[Content attribute of template element is read-only. Test that custom content attribute named 'content' doesn't affect content IDL attribute]
expected: FAIL
[Content attribute of template element is read-only. Text value of content attribute of template tag should be ignored, when loading document from a file]
expected: FAIL
[Content attribute of template element is read-only. Test content attribute of a document loaded from a file]
expected: FAIL

View file

@ -0,0 +1,3 @@
[node-document-changes.html]
type: testharness
expected: CRASH

View file

@ -0,0 +1,8 @@
[template-as-a-descendant.html]
type: testharness
[Template element as a descendant of the FRAMESET element. Template element is created by innerHTML]
expected: FAIL
[Template element as an indirect descendant of the FRAMESET element. Template element is created by innerHTML]
expected: FAIL

View file

@ -0,0 +1,3 @@
[template-content-node-document.html]
type: testharness
expected: CRASH

View file

@ -0,0 +1,3 @@
[template-content.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[template-descendant-body.html]
type: testharness
[Template element as a descendant of the body element. Test loading from a file]
expected: FAIL

View file

@ -0,0 +1,11 @@
[template-descendant-frameset.html]
type: testharness
[Template element as a descendant of the frameset element. Test loading from a file]
expected: FAIL
[Template element as a descendant of the frameset element. Test template element is assigned to frameset's innerHTML)]
expected: FAIL
[Template element as a descendant of the frameset element. Test template element appended to frameset by appendChild()]
expected: FAIL

View file

@ -0,0 +1,5 @@
[template-descendant-head.html]
type: testharness
[Template element as a descendant of the head element. Test loading from a file]
expected: FAIL