| Index: client/html/benchmarks/dromaeo/Dromaeo.dart
|
| diff --git a/client/html/benchmarks/dromaeo/Dromaeo.dart b/client/html/benchmarks/dromaeo/Dromaeo.dart
|
| index 2e1dd6870fc928c35ddcdbcde59d8d6e11a49dc8..a61ec5ef46246b465069fcdaaeada2dc69ab09e5 100644
|
| --- a/client/html/benchmarks/dromaeo/Dromaeo.dart
|
| +++ b/client/html/benchmarks/dromaeo/Dromaeo.dart
|
| @@ -69,7 +69,7 @@ class SuiteController {
|
| }
|
|
|
| DivElement _createDiv(String clazz) {
|
| - final div = document.createElement('div');
|
| + final div = new Element.tag('div');
|
| div.attributes['class'] = clazz;
|
| return div;
|
| }
|
| @@ -100,7 +100,7 @@ class Dromaeo {
|
| document.query('#overview').elements.first.innerHTML = 'DOM Core Tests';
|
| _css(document.query('#tests'), 'display', 'none');
|
| for (SuiteDescription suite in Suites.SUITE_DESCRIPTIONS) {
|
| - final iframe = document.createElement('iframe');
|
| + final iframe = new Element.tag('iframe');
|
| _css(iframe, 'height', '1px');
|
| _css(iframe, 'width', '1px');
|
| iframe.src = 'tests/' + suite.file;
|
|
|