| Index: sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| diff --git a/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate b/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| index 22ec7403bd93f6b1645233718460c84959fc0ab5..c0f3ec0950044e54848d380ba0722ca03c2e594c 100644
|
| --- a/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| +++ b/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| @@ -59,21 +59,21 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| List<Element> queryAll(String selectors) =>
|
| new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
|
|
|
| - String get innerHTML {
|
| + String get innerHtml {
|
| final e = new Element.tag("div");
|
| e.nodes.add(this.clone(true));
|
| - return e.innerHTML;
|
| + return e.innerHtml;
|
| }
|
|
|
| - String get outerHTML => innerHTML;
|
| + String get outerHtml => innerHtml;
|
|
|
| - // TODO(nweiz): Do we want to support some variant of innerHTML for XML and/or
|
| + // TODO(nweiz): Do we want to support some variant of innerHtml for XML and/or
|
| // SVG strings?
|
| - void set innerHTML(String value) {
|
| + void set innerHtml(String value) {
|
| this.nodes.clear();
|
|
|
| final e = new Element.tag("div");
|
| - e.innerHTML = value;
|
| + e.innerHtml = value;
|
|
|
| // Copy list first since we don't want liveness during iteration.
|
| List nodes = new List.from(e.nodes);
|
| @@ -103,7 +103,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| this._insertAdjacentNode(where, new Text(text));
|
| }
|
|
|
| - void insertAdjacentHTML(String where, String text) {
|
| + void insertAdjacentHtml(String where, String text) {
|
| this._insertAdjacentNode(where, new DocumentFragment.html(text));
|
| }
|
|
|
| @@ -112,7 +112,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| }
|
|
|
| void addHtml(String text) {
|
| - this.insertAdjacentHTML('beforeend', text);
|
| + this.insertAdjacentHtml('beforeend', text);
|
| }
|
|
|
| // If we can come up with a semi-reasonable default value for an Element
|
|
|