Index: sdk/lib/html/templates/html/impl/impl_HTMLSelectElement.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_HTMLSelectElement.darttemplate b/sdk/lib/html/templates/html/impl/impl_HTMLSelectElement.darttemplate |
deleted file mode 100644 |
index ad44ea673bed365a26717240262236589ccf69a6..0000000000000000000000000000000000000000 |
--- a/sdk/lib/html/templates/html/impl/impl_HTMLSelectElement.darttemplate |
+++ /dev/null |
@@ -1,25 +0,0 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-part of html; |
- |
-/// @domName $DOMNAME |
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
-$!MEMBERS |
- |
- // Override default options, since IE returns SelectElement itself and it |
- // does not operate as a List. |
- List<OptionElement> get options { |
- return this.children.filter((e) => e is OptionElement); |
- } |
- |
- List<OptionElement> get selectedOptions { |
- // IE does not change the selected flag for single-selection items. |
- if (this.multiple) { |
- return this.options.filter((o) => o.selected); |
- } else { |
- return [this.options[this.selectedIndex]]; |
- } |
- } |
-} |