| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index b742efdbba0ab5a8cd47e646848c1116b61ab1f6..7fd5abcb475d34251c9f9fb8e33e1f1853e774ae 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -121,8 +121,7 @@ class _ChildrenElementList extends ListBase<Element>
|
| }
|
|
|
| void clear() {
|
| - // It is unclear if we want to keep non element nodes?
|
| - _element.text = '';
|
| + _element._clearChildren();
|
| }
|
|
|
| Element removeAt(int index) {
|
|
|