mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
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:
@@ -0,0 +1,14 @@
|
||||
[template-contents-owner-document-type.html]
|
||||
type: testharness
|
||||
[The template contents owner document type is HTML document (case when document has browsing context and the template is created by HTML parser)]
|
||||
expected: FAIL
|
||||
|
||||
[The template contents owner document type is HTML document (case when document has browsing context and the template is created by createElement())]
|
||||
expected: FAIL
|
||||
|
||||
[The template contents owner document type is HTML document (case when document has no browsing context and the template is created by createElement())]
|
||||
expected: FAIL
|
||||
|
||||
[The template contents owner document type is HTML document (case when document has no browsing context and the template is created via innerHTML)]
|
||||
expected: FAIL
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[template-contents-owner-test-001.html]
|
||||
type: testharness
|
||||
[Test the template contents owner document when enclosing document has no browsing content. Template element is created by createElement()]
|
||||
expected: FAIL
|
||||
|
||||
[Test the template contents owner document when enclosing document has no browsing content. Template element is created by innerHTML]
|
||||
expected: FAIL
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[template-contents-owner-test-002.html]
|
||||
type: testharness
|
||||
[The template contents owner document must be different from template owner document, which has browsing context. Template element is created by createElement()]
|
||||
expected: FAIL
|
||||
|
||||
[The template contents owner document must be different from template owner document, which has browsing context. Template element is created via innerHTML]
|
||||
expected: FAIL
|
||||
|
||||
[The template contents owner document must be different from template owner document, which has browsing context. Template element is created by HTML parser]
|
||||
expected: FAIL
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[template-contents.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
Reference in New Issue
Block a user