Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2069)

Unified Diff: tests/html/selectelement_test.dart

Issue 15705012: Fixing selectelement_test on IE9 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/selectelement_test.dart
diff --git a/tests/html/selectelement_test.dart b/tests/html/selectelement_test.dart
index 8b7d76b1e9fe4842b1c84414a50a65b99f6708de..717502f505f1312d696046ac1f7f5d94c2622d52 100644
--- a/tests/html/selectelement_test.dart
+++ b/tests/html/selectelement_test.dart
@@ -57,12 +57,13 @@ main() {
});
test('optgroup', () {
- var element = new SelectElement();
- element.innerHtml =
+ var element = new Element.html(
+ '<select>'
'<option>1</option>'
'<optgroup>'
'<option>2</option>'
- '</optgroup>';
+ '</optgroup>'
+ '</select>');
expect(element.options.length, 2);
element.selectedIndex = 1;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698