summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml
blob: eab5bd7c667c2996612950c2bd4604a42188657e (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>&lt;applet&gt;</title>
</head>
<body>
  <!-- is structured inline -->
  <p><applet
      archive="uri1,uri2"
      code="foo"
      codebase="uri"
      height="40"
      width="40"
      name="sth"
      class="class"
      xml:lang="en"></applet></p>

  <!-- is strictly inline -->
  <p><dfn><applet
      archive="uri1,uri2"
      code="foo"
      codebase="uri"
      height="40"
      width="40"
      name="sth"
      class="class"
      xml:lang="en"></applet></dfn></p>

  <!-- is block -->
  <applet
    archive="uri1,uri2"
    code="foo"
    codebase="uri"
    height="40"
    width="40"
    name="sth"
    class="class"
    xml:lang="en"></applet>

  <!-- can contain inline while in inline context, but param must come first -->
  <p>paragraph
    <applet code="foo" width="10" height="10">
        <em>some</em> <ul><li>inline</li></ul> content
    </applet>
  </p>
  <p>paragraph
    <applet code="foo" width="10" height="10">
        <param name="foo"></param><param name="bar"></param>
        <em>some</em> <ul><li>inline</li></ul> content
    </applet>
  </p>

  <!-- can contain strictly inline while in strictly inline context, but param must come first -->
  <p><dfn>strictly inline
    <applet code="foo" width="10" height="10">
        <em>text</em>
    </applet>
  </dfn></p>
  <p><dfn>strictly inline
    <applet code="foo" width="10" height="10">
        <param name="foo"></param><param name="bar"></param>
        <em>text</em>
    </applet>
  </dfn></p>

  <!-- can contain blocks while in block context, but param must come first -->
  <applet code="foo" width="10" height="10">
    <p>text</p>
  </applet>
  <applet code="foo" width="10" height="10">
    <param name="foo"></param><param name="bar"></param>
    <p>text</p>
  </applet>

  <!-- can contain interactive if ancestor does not forbid it, but param must come first -->
  <p>paragraph
    <applet code="foo" width="10" height="10">
      <a>link</a>
    </applet>
  </p>
  <p>paragraph
    <applet code="foo" width="10" height="10">
      <param name="foo"></param><param name="bar"></param>
      <a>link</a>
    </applet>
  </p>
  <p><dfn>strictly inline
    <applet code="foo" width="10" height="10">
      <a>link</a>
    </applet>
  </dfn></p>
  <p><dfn>strictly inline
    <applet code="foo" width="10" height="10">
     <param name="foo"></param><param name="bar"></param>
     <a>link</a>
    </applet>
  </dfn></p>
  <applet code="foo" width="10" height="10">
    <p><a>link</a></p>
  </applet>
  <applet code="foo" width="10" height="10">
    <param name="foo"></param><param name="bar"></param>
    <p><a>link</a></p>
  </applet>
</body>
</html>