Merge branch 'add-muted' into next
This commit is contained in:
commit
2d15699ccf
3
regression_testing/cases/github-cases/case-938.conf
Executable file
3
regression_testing/cases/github-cases/case-938.conf
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
# Sample config for 938.
|
||||||
|
indent: yes
|
||||||
|
wrap: 999
|
24
regression_testing/cases/github-cases/case-938@0.html
Executable file
24
regression_testing/cases/github-cases/case-938@0.html
Executable 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>
|
23
regression_testing/cases/github-expects/case-938.html
Normal file
23
regression_testing/cases/github-expects/case-938.html
Normal 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>
|
13
regression_testing/cases/github-expects/case-938.txt
Normal file
13
regression_testing/cases/github-expects/case-938.txt
Normal 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
|
Loading…
Reference in a new issue