Merge branch 'add-muted' into next

This commit is contained in:
Jim Derry 2021-06-30 13:41:20 -04:00
commit 2d15699ccf
4 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# Sample config for 938.
indent: yes
wrap: 999

View file

@ -0,0 +1,24 @@
<!--
This test case represents HTML Tidy issue #839, which describes
a descrepancy between tidy's behavior and the W3C Nu HTML
checker behavior. Tidy has historically allowed empty <title>
elements, but this is not allowed by HTML5, and is flagged by
the Nu checker. Because a <title> is required by HTML5, it
would be even worse for HTML Tidy to remove this element, and
so Tidy will now provide a warning if the title element is
empty. It is assumed the HTML author will add a title as well
as addressing other warnings.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Video Muted Attribute Test</title>
</head>
<body>
<video autoplay loop muted playsinline>
<source src="video/Mine.mp4" type="video/mp4">
</video>
</body>
</html>

View file

@ -0,0 +1,23 @@
<!--
This test case represents HTML Tidy issue #839, which describes
a descrepancy between tidy's behavior and the W3C Nu HTML
checker behavior. Tidy has historically allowed empty <title>
elements, but this is not allowed by HTML5, and is flagged by
the Nu checker. Because a <title> is required by HTML5, it
would be even worse for HTML Tidy to remove this element, and
so Tidy will now provide a warning if the title element is
empty. It is assumed the HTML author will add a title as well
as addressing other warnings.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>
Video Muted Attribute Test
</title>
</head>
<body>
<video autoplay="" loop="" muted playsinline><source src="video/Mine.mp4" type="video/mp4"></video>
</body>
</html>

View file

@ -0,0 +1,13 @@
Info: Document content looks like HTML5
No warnings or errors were found.
About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium
Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md