summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/del/model-novalid.html
blob: 0cf5c1797b8ce120fdaa5cf44cfc3a33689978ae (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
<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8>
  <title>&lt;del&gt;</title>
</head>
<body>
  <!-- can contain inline while in inline context -->
  <p>paragraph
    <del>
      <em>some</em> <ul><li>inline</li></ul> content
    </del>
  </p>

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

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

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

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

</body>
</html>