OLD | NEW |
| (Empty) |
1 Dataset - Get | |
2 | |
3 This is a testharness.js-based test. | |
4 PASS Getting element.dataset['foo'] should return the value of element.getAttrib
ute('data-foo')' | |
5 PASS Getting element.dataset['fooBar'] should return the value of element.getAtt
ribute('data-foo-bar')' | |
6 PASS Getting element.dataset['-'] should return the value of element.getAttribut
e('data--')' | |
7 PASS Getting element.dataset['Foo'] should return the value of element.getAttrib
ute('data--foo')' | |
8 PASS Getting element.dataset['-Foo'] should return the value of element.getAttri
bute('data---foo')' | |
9 PASS Getting element.dataset['foo'] should return the value of element.getAttrib
ute('data-Foo')' | |
10 PASS Getting element.dataset[''] should return the value of element.getAttribute
('data-')' | |
11 PASS Getting element.dataset['à'] should return the value of element.getAttribut
e('data-à')' | |
12 PASS Getting element.dataset['toString'] should return the value of element.getA
ttribute('data-to-string')' | |
13 PASS Tests that an attribute named dataFoo does not make an entry in the dataset
DOMStringMap. | |
14 Harness: the test ran to completion. | |
15 | |
OLD | NEW |