html/dom/elements/global-attributes/

242 / 242 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
36
Blocking files
0

Chrome 237 / 242 WPT subtests passing on the same files, 1 blocking

Tests

36 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
cdata-dir_auto.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Content of CDATA is ignored for dir=auto in html document
  2. Text in CDATASection is considered when determining auto directionality
  3. Directionality is updated when removing CDATASection
  4. Directionality is updated when changing text of CDATASection
classlist-nonstring.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. classList: non-string contains
  2. classList: non-string contains 1
  3. classList: non-string contains 2
  4. classList: non-string contains 3
  5. classList: non-string contains 4
  6. classList: non-string contains 5
  7. classList: non-string contains 6
custom-attrs.html1 / 1 passingChrome 0 / 10 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Setting an Element's dataset property should not interfere with namespaced attributes with same name
data_unicode_attr.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. dataset - SBCS
  2. dataset - UNICODE
dataset-binding.window.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Getting property descriptor for key 9
  2. Setting property for key 9 with accessor property on prototype
  3. Getting property descriptor for key x
  4. Setting property for key x with accessor property on prototype
dataset-delete.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. Deleting element.dataset['foo'] should also remove an attribute with name 'data-foo' should it exist.
  2. Deleting element.dataset['fooBar'] should also remove an attribute with name 'data-foo-bar' should it exist.
  3. Deleting element.dataset['-'] should also remove an attribute with name 'data--' should it exist.
  4. Deleting element.dataset['Foo'] should also remove an attribute with name 'data--foo' should it exist.
  5. Deleting element.dataset['-foo'] should not remove an attribute with name 'data--foo' should it exist.
  6. Deleting element.dataset['-Foo'] should also remove an attribute with name 'data---foo' should it exist.
  7. Deleting element.dataset[''] should also remove an attribute with name 'data-' should it exist.
  8. Deleting element.dataset['à'] should also remove an attribute with name 'data-à' should it exist.
  9. Deleting element.dataset['foo'] should not throw if even if the element does now have an attribute with the name data-foo.
dataset-enumeration.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A dataset should be enumeratable.
  2. Only attributes who qualify as dataset properties should be enumeratable in the dataset.
dataset-get-invalid-names.html28 / 28 passingChrome 24 / 280 failedClean
Standing
Clean runner status OK
Chrome
With failures 24 / 28 WPT subtests passing runner status OK
28 passing subtests
  1. 1 attribute(s): aria-label: dataset["label"] is undefined
  2. 1 attribute(s): aria-label: "label" in dataset is false
  3. 2 attribute(s): aria-label: dataset["label"] is undefined
  4. 2 attribute(s): aria-label: "label" in dataset is false
  5. 1 attribute(s): title: dataset[""] is undefined
  6. 1 attribute(s): title: "" in dataset is false
  7. 2 attribute(s): title: dataset[""] is undefined
  8. 2 attribute(s): title: "" in dataset is false
  9. 1 attribute(s): class: dataset[""] is undefined
  10. 1 attribute(s): class: "" in dataset is false
  11. 2 attribute(s): class: dataset[""] is undefined
  12. 2 attribute(s): class: "" in dataset is false
  13. 1 attribute(s): dataxfoo: dataset["foo"] is undefined
  14. 1 attribute(s): dataxfoo: "foo" in dataset is false
  15. 2 attribute(s): dataxfoo: dataset["foo"] is undefined
  16. 2 attribute(s): dataxfoo: "foo" in dataset is false
  17. 1 attribute(s): data-Foo: dataset["Foo"] is undefined
  18. 1 attribute(s): data-Foo: "Foo" in dataset is false
  19. 2 attribute(s): data-Foo: dataset["Foo"] is undefined
  20. 2 attribute(s): data-Foo: "Foo" in dataset is false
  21. 1 attribute(s): data-foo-bar: dataset["foo-bar"] is undefined
  22. 1 attribute(s): data-foo-bar: "foo-bar" in dataset is false
  23. 2 attribute(s): data-foo-bar: dataset["foo-bar"] is undefined
  24. 2 attribute(s): data-foo-bar: "foo-bar" in dataset is false
  25. 1 attribute(s): data-foo-bar-baz: dataset["foo-barBaz"] is undefined
  26. 1 attribute(s): data-foo-bar-baz: "foo-barBaz" in dataset is false
  27. 2 attribute(s): data-foo-bar-baz: dataset["foo-barBaz"] is undefined
  28. 2 attribute(s): data-foo-bar-baz: "foo-barBaz" in dataset is false
dataset-get.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Getting element.dataset['foo'] should return the value of element.getAttribute('data-foo')'
  2. Getting element.dataset['fooBar'] should return the value of element.getAttribute('data-foo-bar')'
  3. Getting element.dataset['-'] should return the value of element.getAttribute('data--')'
  4. Getting element.dataset['Foo'] should return the value of element.getAttribute('data--foo')'
  5. Getting element.dataset['-Foo'] should return the value of element.getAttribute('data---foo')'
  6. Getting element.dataset['foo'] should return the value of element.getAttribute('data-Foo')'
  7. Getting element.dataset[''] should return the value of element.getAttribute('data-')'
  8. Getting element.dataset['à'] should return the value of element.getAttribute('data-à')'
  9. Getting element.dataset['toString'] should return the value of element.getAttribute('data-to-string')'
  10. Tests that an attribute named dataFoo does not make an entry in the dataset DOMStringMap.
dataset-prototype.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. An elements dataset property is an instance of a DOMStringMap
  2. Properties on Object.prototype should shine through.
dataset-set.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. Setting element.dataset['foo'] should also change the value of element.getAttribute('data-foo')
  2. Setting element.dataset['fooBar'] should also change the value of element.getAttribute('data-foo-bar')
  3. Setting element.dataset['-'] should also change the value of element.getAttribute('data--')
  4. Setting element.dataset['Foo'] should also change the value of element.getAttribute('data--foo')
  5. Setting element.dataset['-Foo'] should also change the value of element.getAttribute('data---foo')
  6. Setting element.dataset[''] should also change the value of element.getAttribute('data-')
  7. Setting element.dataset['à'] should also change the value of element.getAttribute('data-à')
  8. Setting element.dataset['-foo'] should throw a SYNTAX_ERR
  9. Setting element.dataset['foo '] should throw an INVALID_CHARACTER_ERR
  10. Setting element.dataset[';foo'] should not throw.
  11. Setting element.dataset['ெfoo'] should also change the value of element.getAttribute('ெfoo')
dataset.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. HTML elements should have a .dataset
  2. Should return 'undefined' before setting an attribute
  3. Should return 'value' if that's the value
  4. Should return the empty string if that's the value
  5. Should return 'undefined' after removing an attribute
  6. Should not have a .dataset on random elements
  7. SVG elements should have a .dataset
  8. MathML elements should have a .dataset
dir-assorted.window.js41 / 41 passingChrome 41 / 410 failedClean
Standing
Clean runner status OK
Chrome
Clean 41 / 41 WPT subtests passing runner status OK
41 passing subtests
  1. Root element has a direction
  2. Element outside the document tree has a direction
  3. Non-HTML element outside the document tree has a direction
  4. Element without direction has parent element direction
  5. Non-HTML element without direction has parent element direction
  6. dir inheritance is correct after insertion and removal from document
  7. Non-HTML element text contents influence dir=auto
  8. style element text contents do not influence dir=auto
  9. script element text contents do not influence dir=auto
  10. non-html style element text contents influence dir=auto
  11. non-html script element text contents influence dir=auto
  12. non-html input element text contents influence dir=auto
  13. non-html textarea element text contents influence dir=auto
  14. text changes apply to dir=auto on further ancestor after removing dir=auto from closer ancestor
  15. text changes apply to dir=auto on further ancestor after removing dir=ltr from closer ancestor
  16. directionality of bdi elements: dir=ltr with LTR contents in ltr parent
  17. directionality of bdi elements: dir=ltr with LTR contents in rtl parent
  18. directionality of bdi elements: dir=ltr with RTL contents in ltr parent
  19. directionality of bdi elements: dir=ltr with RTL contents in rtl parent
  20. directionality of bdi elements: dir=ltr empty in ltr parent
  21. directionality of bdi elements: dir=ltr empty in rtl parent
  22. directionality of bdi elements: dir=rtl with LTR contents in ltr parent
  23. directionality of bdi elements: dir=rtl with LTR contents in rtl parent
  24. directionality of bdi elements: dir=rtl with RTL contents in ltr parent
  25. directionality of bdi elements: dir=rtl with RTL contents in rtl parent
  26. directionality of bdi elements: dir=rtl empty in ltr parent
  27. directionality of bdi elements: dir=rtl empty in rtl parent
  28. directionality of bdi elements: dir=auto with LTR contents in ltr parent
  29. directionality of bdi elements: dir=auto with LTR contents in rtl parent
  30. directionality of bdi elements: dir=auto with RTL contents in ltr parent
  31. directionality of bdi elements: dir=auto with RTL contents in rtl parent
  32. directionality of bdi elements: dir=auto empty in ltr parent
  33. directionality of bdi elements: dir=auto empty in rtl parent
  34. directionality of bdi elements: dir=auto numbers in ltr parent
  35. directionality of bdi elements: dir=auto numbers in rtl parent
  36. directionality of bdi elements: no dir attribute with LTR contents in ltr parent
  37. directionality of bdi elements: no dir attribute with LTR contents in rtl parent
  38. directionality of bdi elements: no dir attribute with RTL contents in ltr parent
  39. directionality of bdi elements: no dir attribute with RTL contents in rtl parent
  40. directionality of bdi elements: no dir attribute empty in ltr parent
  41. directionality of bdi elements: no dir attribute empty in rtl parent
dir-auto-div-append-child.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. dir auto: updates on appendChild
dir-auto-dynamic-changes.window.js21 / 21 passingChrome 21 / 210 failedClean
Standing
Clean runner status OK
Chrome
Clean 21 / 21 WPT subtests passing runner status OK
21 passing subtests
  1. dynamic insertion of RTL text in a child element
  2. dir=auto changes for content insertion and removal, in and out of document
  3. dir=auto changes for slot reassignment
  4. text changes affecting both slot and ancestor with dir=auto
  5. dynamic changes to subtrees excluded as a result of the dir attribute
  6. dynamic changes inside of non-HTML elements
  7. slotted non-HTML elements
  8. slotted non-HTML elements after dynamically assigning dir=auto, and dir attribute ignored on non-HTML elements
  9. dir=auto ancestor considers text in subtree after removing dir=ltr from it
  10. Slotted content affects multiple dir=auto slots
  11. Removing slotted content resets direction on dir=auto slot
  12. Removing child of slotted content changes direction on dir=auto slot
  13. Child directionality gets updated when dir=auto is set on parent
  14. dir=auto slot is not affected by text in value of input element children
  15. input direction changes if it stops being auto-directionality form-associated
  16. Input that becomes auto directionality associated but is dir=ltr stays LTR
  17. slot provides updated directionality from host to a dir=auto container
  18. text input and textarea value changes should only be reflected in :dir() when dir=auto (value changes)
  19. slot removal resets parent's dependency on host directionality
  20. slot removal can impact multiple dir=auto nodes
  21. slot insertion makes parent dependent on host directionality
dir-auto-form-associated.window.js22 / 22 passingChrome 22 / 220 failedClean
Standing
Clean runner status OK
Chrome
Clean 22 / 22 WPT subtests passing runner status OK
22 passing subtests
  1. <input dir=auto type=hidden> directionality
  2. <input dir=auto type=text> directionality
  3. <input dir=auto type=search> directionality
  4. <input dir=auto type=tel> directionality
  5. <input dir=auto type=url> directionality
  6. <input dir=auto type=email> directionality
  7. <input dir=auto type=password> directionality
  8. <input dir=auto type=submit> directionality
  9. <input dir=auto type=reset> directionality
  10. <input dir=auto type=button> directionality
  11. <input dir=auto type=date> directionality
  12. <input dir=auto type=month> directionality
  13. <input dir=auto type=week> directionality
  14. <input dir=auto type=time> directionality
  15. <input dir=auto type=datetime-local> directionality
  16. <input dir=auto type=number> directionality
  17. <input dir=auto type=range> directionality
  18. <input dir=auto type=color> directionality
  19. <input dir=auto type=checkbox> directionality
  20. <input dir=auto type=radio> directionality
  21. <input dir=auto type=image> directionality
  22. <textarea dir=auto> directionality
dir-bdi-script.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. BDI test: Directionality
dir-not-changed-text-input-typing.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. entering LTR text doesn't change directionality of a text input without dir=auto
dir-slots-directionality.html17 / 17 passingChrome 17 / 170 failedClean
Standing
Clean runner status OK
Chrome
Clean 17 / 17 WPT subtests passing runner status OK
17 passing subtests
  1. Slots: Directionality: dir=rtl on slot
  2. Slots: Directionality: dir=rtl on host
  3. Slots: Directionality: dir=auto on host with Arabic shadow tree content
  4. Slots: Directionality: dir=auto in shadow tree with Arabic light tree content
  5. Slots: Directionality: dir=auto in shadow tree with Arabic shadow tree content
  6. Slots: Directionality: dir=auto on slot with Arabic light tree content
  7. slot provides its directionality (from host) to a dir=auto container
  8. children with dir attribute are skipped by dir=auto
  9. slot with dir attribute is skipped by dir=auto
  10. dir=auto slot ignores assigned nodes with dir attribute
  11. dir=auto slot ignores text in bdi assigned nodes
  12. dir=auto slot ignores text in value of input element children
  13. dir=auto slot is not affected by value of auto-directionality form associated elements
  14. inner slot is given directionality from slotted content
  15. dir=auto slot is not affected by content inside inner slot (version 1)
  16. dir=auto slot is not affected by content inside inner slot (version 2)
  17. Slot assigned node manual removal
document-dir.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Markup attribute
  2. Setting the idl attribute to a garbage value
  3. Setting the idl attribute to the empty string
id-attribute.html17 / 17 passingChrome 17 / 170 failedClean
Standing
Clean runner status OK
Chrome
Clean 17 / 17 WPT subtests passing runner status OK
17 passing subtests
  1. User agents must associate the element with an id value for purposes of getElementById.
  2. Association is exact and therefore case-sensitive for getElementById.
  3. Spaces are allowed in an id and still make an association for getElementByID.
  4. Non-ASCII is allowed in an id and still make an association for getElementById.
  5. User agents must associate the element with an id value for purposes of CSS.
  6. Association for CSS is exact and therefore case-sensitive.
  7. Spaces are allowed in an id and still make an association.
  8. Non-ASCII is allowed in an id and still make an association for CSS.
  9. The id IDL attribute must reflect the id content attribute, for getting.
  10. The id IDL attribute must reflect the id content attribute, for setting via IDL attribute.
  11. After setting id via id attribute, getElementById find the element by the new id.
  12. After setting id via id attribute, getElementById doesn't find the element by the old id.
  13. After setting id via id attribute, CSS association is via the new ID.
  14. The id IDL attribute must reflect the id content attribute, for setting via setAttribute.
  15. After setting id via setAttribute attribute, getElementById find the element by the new id.
  16. After setting id via setAttribute attribute, getElementById doesn't find the element by the old id.
  17. After setting id via setAttribute attribute, CSS association is via the new ID.
id-name-specialcase.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. id with digits only
  2. id start with digits
  3. id start with underscore
  4. id with punctuation only
  5. id with chinese character
id-name.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. id and name attributes and getElementById
lang-attribute-document-element-replacement.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Disconnected descendants of a replaced document element should resolve lang from their actual ancestor
lang-attribute-shadow.window.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. lang only on slot
  2. lang only on host
  3. lang on host and slot
  4. lang on host and slotted element
  5. lang on host and slot and slotted element
  6. lang on slot inherits from parent
lang-attribute.window.js1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. unnamespaced lang attribute only works on elements in the HTML namespace
mapped-attribute-adopt-001.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Adoption of an unrelated node shouldn't prevent mapped attributes from applying
the-translate-attribute-007.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. In the default case, ie. with no translate attribute in the page, javascript will detect the translation mode of text as translate-enabled.
the-translate-attribute-008.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. If the translate attribute is set to yes, javascript will detect the translation mode of text as translate-enabled.
the-translate-attribute-009.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. If the translate attribute is set to no, javascript will detect the translation mode of text as no-translate.
the-translate-attribute-010.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. If the translate attribute is set to no, javascript will detect the translation mode of elements inside that element with no translate flag as no-translate.
the-translate-attribute-011.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. If the translate attribute is set to yes on an element inside an element with the translate attribute set to no, javascript will detect the translation mode of text in the inner element as translate-enabled.
the-translate-attribute-012.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. If the translate attribute is set to a null string, javascript will detect the translation mode of text as translate-enabled.
translate-enumerated-ascii-case-insensitive.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. keyword yes
translate-inherit-no-parent-element.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. No parent node
  2. DocumentFragment parent node
  3. ShadowRoot parent node whose shadow host has translate=yes
  4. ShadowRoot parent node whose shadow host has translate=no
  5. Document parent node
translate-non-html-translation-mode.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Non-HTML elements default to translate-enabled
  2. Non-HTML elements inherit their parent's translation-enabled state
  3. Non-HTML elements inherit their parent's no-translation state

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.