/html/dom/elements/global-attributes/dataset-set.html| status | subtest | message |
|---|---|---|
| PASS | Setting element.dataset['foo'] should also change the value of element.getAttribute('data-foo') | |
| PASS | Setting element.dataset['fooBar'] should also change the value of element.getAttribute('data-foo-bar') | |
| PASS | Setting element.dataset['-'] should also change the value of element.getAttribute('data--') | |
| PASS | Setting element.dataset['Foo'] should also change the value of element.getAttribute('data--foo') | |
| PASS | Setting element.dataset['-Foo'] should also change the value of element.getAttribute('data---foo') | |
| PASS | Setting element.dataset[''] should also change the value of element.getAttribute('data-') | |
| PASS | Setting element.dataset['à'] should also change the value of element.getAttribute('data-à') | |
| PASS | Setting element.dataset['-foo'] should throw a SYNTAX_ERR | |
| PASS | Setting element.dataset['foo '] should throw an INVALID_CHARACTER_ERR | |
| PASS | Setting element.dataset[';foo'] should not throw. | |
| PASS | Setting element.dataset['ெfoo'] should also change the value of element.getAttribute('ெfoo') |
bundle built 2026-07-16T07:16:48.063Z