html/dom/documents/dom-tree-accessors/
259 / 259 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 49
- Blocking files
- 0
Chrome 257 / 259 WPT subtests passing on the same files, 1 blocking, 1 without a result
Tests
1 directory, 40 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
document. | 27 / 27 | 27 / 27 | 9 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
Document.body.html 26 / 26 passingChrome 26 / 260 failedClean
26 passing subtests
- Childless document
- Childless html element
- Body followed by frameset inside the html element
- Frameset followed by body inside the html element
- Body followed by frameset inside a non-HTML html element
- Frameset followed by body inside a non-HTML html element
- Non-HTML body followed by body inside the html element
- Non-HTML frameset followed by body inside the html element
- Body inside an x element followed by a body
- Frameset inside an x element followed by a frameset
- Body as the root node
- Frameset as the root node
- Body as the root node with a frameset child
- Frameset as the root node with a body child
- Non-HTML body as the root node
- Non-HTML frameset as the root node
- existing document's body
- Setting document.body to a string.
- Setting document.body to a div element.
- Setting document.body when there's no root element.
- Setting document.body to a new body element.
- Setting document.body to a new frameset element.
- Setting document.body to a body will replace an existing frameset if there is one.
- Setting document.body to a frameset will replace an existing body if there is one.
- Setting document.body to a frameset will replace the first existing body/frameset.
- Setting document.body to a new body element when the root element is a test element.
Document.currentScript.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- Script parse-inline
- Script parse-ext
- Script dom-inline
- Script dom-ext
- Script nested
- Script script-load-error
- Script script-window-error
- Script timeout
- Script eval
- Script xhr-test
- Script script-svg
- Script script-async
- Script script-defer
- Script script-async-false
- Script iframe-src
- Script cross-origin
- Script document-write
- Script microtask
Document.getElementsByClassName-null-undef.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- getElementsByClassName and null/undefined
Element.getElementsByClassName-null-undef.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- getElementsByClassName and null/undefined
document.embeds-document.plugins-01.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- No plugins
- One plugin
- Two plugins
- Document.embeds should be a live collection
- Document.plugins should be a live collection
document.forms.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- document.forms
- document.forms.item with string arg
- document.forms with empty string
- document.forms iteration
- document.forms getOwnPropertyNames
- Document.forms should be a live collection
document.getElementsByClassName-same.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The user agent may return the same object as the object returned by the earlier call.
document.head-01.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.head
document.head-02.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.head
document.images.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- document.images should contain all HTML img elements
- img with id
- img with name
- img with id and name
- Two img elements with the same id
- Two img elements with the same name
- Unknown name should not be in the collection
- Foreign element should not be in the collection
- Input elements should not be in the collection
- The empty string should not be in the collections
- Document.images should be a live collection
document.links.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Document.links should be a live collection
document.scripts.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Document.scripts should be a live collection
document.title-01.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- document.title with head blown away
- document.title with head blown away 1
- document 2
- PASS 3
document.title-03.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- document.title initial value
- document.title after setting to "one space"
- document.title after setting to "two spaces"
- document.title after setting to "one\ttab"
- document.title after setting to "two\t\ttabs"
- document.title after setting to "one\nnewline"
- document.title after setting to "two\n\nnewlines"
- document.title after setting to "one\fform feed"
- document.title after setting to "two\f\fform feeds"
- document.title after setting to "one\rcarriage return"
- document.title after setting to "two\r\rcarriage returns"
document.title-05.html 21 / 21 passingChrome 21 / 210 failedClean
21 passing subtests
- Removing whitespace in document.title: U+b
- Removing whitespace in document.title: U+85
- Removing whitespace in document.title: U+a0
- Removing whitespace in document.title: U+1680
- Removing whitespace in document.title: U+180e
- Removing whitespace in document.title: U+2000
- Removing whitespace in document.title: U+2001
- Removing whitespace in document.title: U+2002
- Removing whitespace in document.title: U+2003
- Removing whitespace in document.title: U+2004
- Removing whitespace in document.title: U+2005
- Removing whitespace in document.title: U+2006
- Removing whitespace in document.title: U+2007
- Removing whitespace in document.title: U+2008
- Removing whitespace in document.title: U+2009
- Removing whitespace in document.title: U+200a
- Removing whitespace in document.title: U+2028
- Removing whitespace in document.title: U+2029
- Removing whitespace in document.title: U+202f
- Removing whitespace in document.title: U+205f
- Removing whitespace in document.title: U+3000
document.title-06.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.title and the empty string
document.title-07.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- createHTMLDocument test 0: "","",""
- createHTMLDocument test 1: null,"null","null"
- createHTMLDocument test 2: undefined,undefined,""
- createHTMLDocument test 3: "foo bar baz","foo bar baz","foo bar baz"
- createHTMLDocument test 4: "foo\t\tbar baz","foo\t\tbar baz","foo bar baz"
- createHTMLDocument test 5: "foo\n\nbar baz","foo\n\nbar baz","foo bar baz"
- createHTMLDocument test 6: "foo\f\fbar baz","foo\f\fbar baz","foo bar baz"
- createHTMLDocument test 7: "foo\r\rbar baz","foo\r\rbar baz","foo bar baz"
- Missing title argument
document.title-08.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No title element
- title element contains multiple child text nodes
document.title-09.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- No title element in SVG document
- Title element in SVG document
- Title element not child of SVG root
- Title element not in SVG namespace
- Root element not named "svg"
document.title-not-in-html-svg.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Should not be able to set document title in XML document
- Should not be able to set document title in XML document with html:title element
nameditem-01.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- img elements that have a name and id attribute, should be accessible by both values.
- img elements that have a name and id attribute with same value.
- Dynamically removing the name attribute from img elements, should not be accessible.
- Dynamically removing the id attribute from img elements, should still be accessible by name value.
- Dynamically updating the name attribute from img elements, should be accessible by values.
- Dynamically updating the id attribute from img elements, should be accessible by values.
- img elements that is removed, should not be accessible.
nameditem-02.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- If the only named item is an iframe, the contentWindow should be returned.
- If there are two iframes, a collection should be returned.
- If there are an iframe and another element (iframe first), a collection should be returned.
- If there are an iframe and another element (iframe last), a collection should be returned.
- If an iframe has an id and no name, it should not be returned.
- If an iframe has a name and a different id, it should be returned by its name.
- If an iframe has an id and a different name, it should not be returned by its id.
- An iframe whose name looks like an array index should work.
- Dynamically removing the name attribute from iframe elements, should not be accessible.
- Dynamically updating the name attribute from iframe elements, should be accessible by its name.
- Dynamically updating the id attribute from iframe elements, should be accessible only by its name.
- iframe elements that is removed, should not be accessible.
nameditem-03.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- applet elements are (mostly) gone
nameditem-04.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- If there is one form, it should be returned (name)
- If there are two forms, a collection should be returned. (name)
- If there is one form, it should not be returned (id)
- If there are two forms, nothing should be returned. (id)
- If there are two forms, a collection should be returned. (name and id)
- If there are two forms, a collection should be returned. (id and name)
- A name shouldn't affect getting an form by id
- An id shouldn't affect getting an form by name
- Dynamically removing the name attribute from form elements, should not be accessible.
- Dynamically updating the name attribute from form elements, should be accessible by its name.
- Dynamically updating the id attribute from form elements, should be accessible only by its name.
- form elements that is removed, should not be accessible.
nameditem-05.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- If there is one embed, it should be returned (name)
- If there are two embeds, a collection should be returned. (name)
- If there is one embed, it should not be returned (id)
- If there are two embeds, nothing should be returned. (id)
- If there are two embeds, a collection should be returned. (name and id)
- If there are two embeds, a collection should be returned. (id and name)
- A name shouldn't affect getting an embed by id
- An id shouldn't affect getting an embed by name
- Dynamically removing the name attribute from embed elements, should not be accessible.
- Dynamically updating the name attribute from embed elements, should be accessible by its name.
- Dynamically updating the id attribute from embed elements, should be accessible only by its name.
- embed elements that is removed, should not be accessible.
nameditem-06.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- If there is one img, it should be returned (name)
- If there are two imgs, a collection should be returned. (name)
- If there is one img, it should not be returned (id)
- If there are two imgs, nothing should be returned. (id)
- If there are two imgs, the one with a name should be returned. (name and id)
- If there are two imgs, the one with a name should be returned. (id and name)
- Dynamically removing the name attribute from img elements, should not be accessible.
- Dynamically updating the name attribute from img elements, should be accessible by its name.
- img elements that is removed, should not be accessible.
nameditem-07.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- If there is one object, it should be returned (name)
- If there are two objects, a collection should be returned. (name)
- If there is one object, it should be returned (id)
- If there are two objects, a collection should be returned. (id)
- If there are two objects, a collection should be returned. (name and id)
- If there are two objects, a collection should be returned. (id and name)
- Dynamically removing the name attribute from object elements, should not be accessible.
- Dynamically removing the id attribute from object elements, should not be accessible.
- Dynamically updating the name attribute from object elements, should be accessible by its name and id.
- Dynamically updating the id attribute from object elements, should be accessible by its name and id.
- object elements that is removed, should not be accessible.
- If an object is nested inside an object with the same name, a collection should be returned. (name)
- If an object is nested inside an object with the same id, a collection should be returned. (id)
- If an embed is nested inside an object with the same name, a collection should be returned. (name)
nameditem-08.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- If there is a div and object with same id, the object should be returned
- If there is a div and img with same id, the img should be returned
nameditem-adoption.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Named properties follow adoption between documents.
nameditem-empty-name-dynamic-crash.html none reportedChrome —0 failedClean
/html/dom/documents/dom-tree-accessors/nameditem-empty-name-dynamic-crash.html PASS none reported
No subtests were reported.
nameditem-img-name-added-cached-list.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An img with an id gets exposed by its id, invalidating an already-cached named item collection, once a name attribute is added.
nameditem-img-name-added.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An img with an id but no name becomes exposed by its id once a name attribute is added.
nameditem-img-name-dynamic.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Two imgs sharing an id are both exposed by that id, whether the name is set before or after insertion.
nameditem-img-name-removed.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An img exposed by its id (id + name) is no longer exposed by id after its name attribute is removed.
nameditem-insertion-attr-mutation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Mutating attributes during UpdateName in InsertedInto/RemovedFrom should not crash
nameditem-names.html 21 / 21 passingChrome 20 / 210 failedClean
21 passing subtests
- An embed name appears in a document's property names.
- A form name appears in a document's property names.
- An iframe name appears in a document's property names.
- An img name appears in a document's property names when the img has no id.
- An object name appears in a document's property names.
- An object id appears in a document's property names.
- An embed name appears in a document's property names when the embed is inside an object that is not showing its fallback content.
- An object name appears in a document's property names when the object is inside an object that is not showing its fallback content.
- An object id appears in a document's property names when the object is inside an object that is not showing its fallback content.
- An object with object and embed descendants is returned by the named getter (name).
- An object with an object descendant is returned by the named getter (id).
- An embed inside an object that is not showing its fallback content is returned by the named getter.
- An object inside an object that is not showing its fallback content is returned by the named getter (name).
- An object inside an object that is not showing its fallback content is returned by the named getter (id).
- An img name appears in a document's property names when the img has an id.
- An img id appears in a document's property names when the img has a name.
- An img id does not appear in a document's property names when the img has no name.
- A document's property names can include integer strings.
- A template name does not appear in a document's property names.
- An img name does not appear in a document's property names when the img is in a template's document fragment.
- A document's property names appear in tree order.
nameditem-setattribute-attr-mutation.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Reallocating attributes during WillModifyAttribute in SetAttributeInternal should not dangle or lose the new value
- Removing earlier attributes during WillModifyAttribute in SetAttributeInternal should update the re-validated index
- Setting the same attribute re-entrantly during AppendAttributeInternal should not create duplicate attributes
- Adopting an element with uppercase id and class between quirks and standards mode documents
nameditem-supported-property-names-order.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Values from id attributes precede values from name attributes when the same element contributes both
nameditem-tree-order.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A named item collection is in tree order even after an element's name is mutated.
nameditem-tree-transitions.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A named-property collection follows same-document moves.
- Named properties follow moves into and out of a shadow tree.