summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/cite/model-isvalid.html
blob: 60fc8b74438cc345b01c392559cd327e603d8a3f (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
<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8>
  <title>&lt;cite&gt;</title>
</head>
<body>
  <!-- is structured inline -->
  <p><cite class="class" lang="en">text</cite></p>

  <!-- is strictly inline -->
  <p><dfn><cite class="class" lang="en">text</cite></dfn></p>

  <!-- can be empty -->
  <p>text <cite></cite></p>
  <p>text <dfn><cite></cite></dfn></p>

  <!-- can contain interactive -->
  <p><cite><a>text</a></cite></p>
  <p><dfn><cite><a>text</a></cite></dfn></p>

  <!-- cannot contain structured inline -->
</body>
</html>