summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/tools/html5lib_test.xml
blob: 8af4adce16b73c5b9012b92450b7ab75429890ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html xmlns:py="http://genshi.edgewall.org/">
  <head>
    <meta charset="utf8"/>
    <title>HTML 5 Parser tests ${file_name}</title>
    <meta name="timeout" content="long"/>
    <meta name="variant" content="?run_type=uri"/>
    <meta name="variant" content="?run_type=write"/>
    <meta name="variant" content="?run_type=write_single"/>
  </head>
  <body>
    <h1>html5lib Parser Test</h1>
    <div id="log"></div>
    <script src="common.js"></script>
    <script src="test.js"></script>
    <script src="template.js"></script>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script>
      var num_iframes = 8;

      var order = [<py:for each="test in tests">'${test.id}',</py:for>];
      var tests = {
          <py:for each="test in tests">"${test.id}":[async_test('${file_name} ${test.id}'), ${test.string_uri_encoded_input}, ${test.string_escaped_expected}],</py:for>
      }
      init_tests(get_type());
    </script>

  </body>
</html>