summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/tools/html5lib_test_fragment.xml
blob: 5be259b7490eec8bd3daf1c5d54eccdc40d9caf1 (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
<html xmlns:py="http://genshi.edgewall.org/">
  <head>
    <meta charset="utf8"/>
    <title>HTML 5 Parser tests ${file_name}</title>
    <meta name="timeout" content="long"/>
  </head>
  <body>
    <h1>html5lib Parser Test</h1>
    <div id="log"></div>
    <script src="common.js"></script>
    <script src="test.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}, '${test.container}'],</py:for>
      }

      init_tests("innerHTML");

    </script>
  </body>
</html>