| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index dfe548507359978ac83d76748dc005dddb78a773..d9c2338690bc04bdb827cb42254394d12a3df0af 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -9447,20 +9447,20 @@ abstract class Element extends Node implements ElementTraversal {
|
| *
|
| * Would be accessed in Dart as:
|
| *
|
| - * var value = element.dataAttributes['myRandomValue'];
|
| + * var value = element.dataset['myRandomValue'];
|
| *
|
| * See also:
|
| *
|
| * * [Custom data attributes](http://www.w3.org/TR/html5/global-attributes.html#custom-data-attribute)
|
| */
|
| - Map<String, String> get dataAttributes =>
|
| + Map<String, String> get dataset =>
|
| new _DataAttributeMap(attributes);
|
|
|
| - void set dataAttributes(Map<String, String> value) {
|
| - final dataAttributes = this.dataAttributes;
|
| - dataAttributes.clear();
|
| + void set dataset(Map<String, String> value) {
|
| + final data = this.dataset;
|
| + data.clear();
|
| for (String key in value.keys) {
|
| - dataAttributes[key] = value[key];
|
| + data[key] = value[key];
|
| }
|
| }
|
|
|
| @@ -9856,10 +9856,6 @@ abstract class Element extends Node implements ElementTraversal {
|
| @DocsEditable
|
| int get clientWidth native "Element_clientWidth_Getter";
|
|
|
| - @DomName('Element.dataset')
|
| - @DocsEditable
|
| - Map<String, String> get dataset native "Element_dataset_Getter";
|
| -
|
| @DomName('Element.firstElementChild')
|
| @DocsEditable
|
| Element get $dom_firstElementChild native "Element_firstElementChild_Getter";
|
|
|