├── test ├── data │ ├── tokenizer │ │ ├── pendingSpecChanges.test │ │ ├── xmlViolation.test │ │ ├── unicodeCharsSurrogates.test │ │ ├── unicodeCharsProblematic.test │ │ ├── escapeFlag.test │ │ ├── contentModelFlags.test │ │ ├── domjs.test │ │ ├── test1.test │ │ └── test2.test │ └── tree-construction │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ ├── regression_tests.dat │ │ ├── scripted │ │ ├── adoption01.dat │ │ ├── webkit01.dat │ │ └── ark.dat │ │ ├── adoption02.dat │ │ ├── inbody01.dat │ │ ├── isindex.dat │ │ ├── tests4.dat │ │ ├── tests24.dat │ │ ├── tests14.dat │ │ ├── pending-spec-changes.dat │ │ ├── webkit02.dat │ │ ├── tests12.dat │ │ ├── comments01.dat │ │ ├── tests17.dat │ │ ├── adoption01.dat │ │ ├── tests21.dat │ │ ├── tests25.dat │ │ ├── tests23.dat │ │ ├── tables01.dat │ │ ├── html5test-com.dat │ │ ├── tests22.dat │ │ ├── tests8.dat │ │ ├── tests5.dat │ │ ├── entities02.dat │ │ ├── tests15.dat │ │ ├── tricky01.dat │ │ ├── tests18.dat │ │ ├── scriptdata01.dat │ │ ├── plain-text-unsafe.dat │ │ ├── tests3.dat │ │ ├── tests26.dat │ │ ├── doctype01.dat │ │ ├── tests20.dat │ │ ├── tests7.dat │ │ └── entities01.dat ├── selectors │ ├── LICENSE │ ├── README │ └── level1_baseline_test.dart ├── query_selector_test.dart ├── parser_test.dart ├── support.dart └── dom_test.dart ├── analysis_options.yaml ├── .gitignore ├── .github ├── dependabot.yml └── workflows │ ├── publish.yaml │ ├── test-package.yml │ └── no-response.yml ├── pubspec.yaml ├── README.md ├── lib ├── src │ ├── list_proxy.dart │ ├── utils.dart │ ├── token.dart │ └── css_class_set.dart ├── html_escape.dart └── dom_parsing.dart ├── example └── main.dart ├── LICENSE └── CHANGELOG.md /test/data/tokenizer/pendingSpecChanges.test: -------------------------------------------------------------------------------- 1 | {"tests": [ 2 | 3 | {"description":"", 15 | "output":["ParseError",["Comment"," foo - - bar "]]}, 16 | 17 | {"description":"FF between attributes", 18 | "input":"", 19 | "output":[["StartTag","a",{"b":"","c":""}]]} 20 | ]} 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/data/tree-construction/inbody01.dat: -------------------------------------------------------------------------------- 1 | #data 2 |