summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/ins/model-novalid.html
blob: 65ee321f2fcc883930ce6acc807870beb224985e (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8>
  <title>&lt;ins&gt;</title>
</head>
<body>
  <!-- can contain inline while in inline context -->
  <p>paragraph
    <ins>
      <em>some</em> <ul><li>inline</li></ul> content
    </ins>
  </p>

  <!-- can contain strictly inline while in strictly inline context -->
  <p><dfn>strictly inline
    <ins>
      <em>text</em>
    </ins>
  </dfn></p>

  <!-- can contain blocks while in block context -->
  <ins>
    <p>text</p>
  </ins>

  <!-- can contain interactive if ancestor does not forbid it -->
  <p>paragraph
    <ins>
      <a>link</a>
    </ins>
  </p>
  <p><dfn>strictly inline
    <ins>
      <a>link</a>
    </ins>
  </dfn></p>
  <ins>
    <p><a>link</a></p>
  </ins>

  <!-- ins with flow content and phrasing parent -->
  <span><ins><p>foo</p></ins></span>

</body>
</html>