Bump html5ever to 0.2.4, <template> support!

The failing <img> test comes from the now-correct parsing of <font face> elements
in SVG.
This commit is contained in:
Anthony Ramine 2015-09-02 18:15:01 +02:00
parent 880364b56d
commit a7476a758e
17 changed files with 117 additions and 55 deletions

View file

@ -3,9 +3,3 @@
[Clone template node. Test call to cloneNode(true)]
expected: FAIL
[Clone template node. Test call to cloneNode() with the default parameter (false by default)]
expected: FAIL
[Clone template node. Test call to cloneNode(false)]
expected: FAIL

View file

@ -1,3 +1,17 @@
[templates-copy-document-owner.html]
type: testharness
expected: CRASH
[ownerDocument of cloned template content is set to template content owner. Test cloning with children]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test cloning without children]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test cloneNode() with no arguments (false by default)]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test cloning nested template]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test loading HTML document from file]
expected: FAIL

View file

@ -1,8 +0,0 @@
[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

View file

@ -1,3 +1,17 @@
[template-contents.html]
type: testharness
expected: CRASH
[The template contents must be a DocumentFragment (nested template containing a text node)]
expected: FAIL
[The template contents must be a DocumentFragment (the empty template tag inside HTML file loaded in iframe)]
expected: FAIL
[The template contents must be a DocumentFragment (non empty template tag inside HTML file loaded in iframe)]
expected: FAIL
[The template contents must be a DocumentFragment (the template tag with some text inside HTML file loaded in iframe)]
expected: FAIL
[The template contents must be a DocumentFragment (the template tag with nested template tag inside HTML file loaded in iframe)]
expected: FAIL

View file

@ -1,20 +1,5 @@
[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

View file

@ -1,3 +1,20 @@
[node-document-changes.html]
type: testharness
expected: CRASH
[Changing of template element's node document. Test that ownerDocument of an empty template and its content changes]
expected: FAIL
[Changing of template element's node document. Test that ownerDocument of a not empty template and its content changes]
expected: FAIL
[Changing of template element's node document. Test that ownerDocument of nested template and its content changes]
expected: FAIL
[Changing of template element's node document. Test document loaded from a file]
expected: FAIL
[Changing of template element's node document. Adobt template element into a document that has a browsing context]
expected: FAIL
[Changing of template element's node document. Test the case when both old and new owner documents of template element have browsing context]
expected: FAIL

View file

@ -1,3 +1,5 @@
[template-content-node-document.html]
type: testharness
expected: CRASH
[Node document of the template content attribute must be template contents owner. Load HTML file with multiple template elements]
expected: FAIL

View file

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