File: case-119a.html

package info (click to toggle)
tidy-html5 2%3A5.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,668 kB
  • sloc: ansic: 43,061; ruby: 1,368; sh: 404; xml: 225; cpp: 30; makefile: 26
file content (44 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE html>
<html>
  <head>
    <title>
      Issue #119 - Test IS attribute
    </title>
  </head>
  <body>
    <h1>
      About this case
    </h1>
    <p>
      This test case ensures that the <kbd>is</kbd> attribute it handled correctly. Tidy accepts <kbd>is</kbd> for all versions of HTML, but ensures that it is correct per the HTML5 rules.
    </p>
    <ul>
      <li is="">
        <kbd>is</kbd> must have a value.
      </li>
      <li is="">
        <kbd>is</kbd> must have a value.
      </li>
      <li is="custom_element">
        <kbd>is</kbd> must contain a hyphen.
      </li>
      <li is="custom-element me_too">
        <kbd>is</kbd> must not contain a space.
      </li>
      <li is="custom-element">
        <kbd>is</kbd> is correct for this paragraph.
      </li>
      <li>
        <pizzerias is="custom-element">
          <kbd>is</kbd> can be used with user-defined tags…
        </pizzerias>
        <jets-pizza is="custom-element">
          …unless they look like autonomous custom tags.
        </jets-pizza>
        <new-tag is="custom-element">
          <kbd>is</kbd> cannot be used with autonomous custom tags detected in the document, either.
        </new-tag>
      </li>
    </ul>
  </body>
</html>