dataset-get.html

PASSExpected10 of 10 subtests pass327 ms

Details

Test
/html/dom/elements/global-attributes/dataset-get.html
Harness
OK

Subtests

StatusSubtestMessage
PASSGetting element.dataset['foo'] should return the value of element.getAttribute('data-foo')'
PASSGetting element.dataset['fooBar'] should return the value of element.getAttribute('data-foo-bar')'
PASSGetting element.dataset['-'] should return the value of element.getAttribute('data--')'
PASSGetting element.dataset['Foo'] should return the value of element.getAttribute('data--foo')'
PASSGetting element.dataset['-Foo'] should return the value of element.getAttribute('data---foo')'
PASSGetting element.dataset['foo'] should return the value of element.getAttribute('data-Foo')'
PASSGetting element.dataset[''] should return the value of element.getAttribute('data-')'
PASSGetting element.dataset['à'] should return the value of element.getAttribute('data-à')'
PASSGetting element.dataset['toString'] should return the value of element.getAttribute('data-to-string')'
PASSTests that an attribute named dataFoo does not make an entry in the dataset DOMStringMap.