OLD | NEW |
1 /** Support code for the tests in this directory. */ | 1 /** Support code for the tests in this directory. */ |
2 library support; | 2 library support; |
3 | 3 |
4 import 'dart:async'; | |
5 import 'dart:io'; | 4 import 'dart:io'; |
6 import 'dart:collection'; | 5 import 'dart:collection'; |
7 import 'package:path/path.dart' as path; | 6 import 'package:path/path.dart' as path; |
8 import 'package:html5lib/src/treebuilder.dart'; | 7 import 'package:html5lib/src/treebuilder.dart'; |
9 import 'package:html5lib/dom.dart'; | 8 import 'package:html5lib/dom.dart'; |
10 import 'package:html5lib/dom_parsing.dart'; | 9 import 'package:html5lib/dom_parsing.dart'; |
11 | 10 |
12 typedef TreeBuilder TreeBuilderFactory(bool namespaceHTMLElements); | 11 typedef TreeBuilder TreeBuilderFactory(bool namespaceHTMLElements); |
13 | 12 |
14 Map _treeTypes; | 13 Map _treeTypes; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 key = "${attr.prefix} ${attr.name}"; | 158 key = "${attr.prefix} ${attr.name}"; |
160 } | 159 } |
161 _newline(); | 160 _newline(); |
162 _str.write('$key="$v"'); | 161 _str.write('$key="$v"'); |
163 } | 162 } |
164 indent -= 2; | 163 indent -= 2; |
165 } | 164 } |
166 visitChildren(node); | 165 visitChildren(node); |
167 } | 166 } |
168 } | 167 } |
OLD | NEW |