Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
index d475ddfc6e313c3ca491175cb02f49070014e9e9..ca918b1b6094c69ca605e7c9c567d22d5900974c 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
@@ -603,7 +603,7 @@ abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
* last child of this. |
*/ |
void addHtml(String text) { |
- this.insertAdjacentHTML('beforeend', text); |
+ this.insertAdjacentHtml('beforeend', text); |
} |
// Hooks to support custom WebComponents. |
@@ -652,15 +652,15 @@ $if DART2JS |
native 'insertAdjacentText'; |
/** @domName Element.insertAdjacentHTML */ |
- void insertAdjacentHTML(String where, String text) { |
- if (JS('bool', '!!#.insertAdjacentHTML', this)) { |
- _insertAdjacentHTML(where, text); |
+ void insertAdjacentHtml(String where, String text) { |
+ if (JS('bool', '!!#.insertAdjacentHtml', this)) { |
+ _insertAdjacentHtml(where, text); |
} else { |
_insertAdjacentNode(where, new DocumentFragment.html(text)); |
} |
} |
- void _insertAdjacentHTML(String where, String text) |
+ void _insertAdjacentHtml(String where, String text) |
native 'insertAdjacentHTML'; |
/** @domName Element.insertAdjacentHTML */ |
@@ -738,7 +738,7 @@ class _ElementFactoryProvider { |
} |
} |
final Element temp = new Element.tag(parentTag); |
- temp.innerHTML = html; |
+ temp.innerHtml = html; |
Element element; |
if (temp.children.length == 1) { |