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>
|