File tree Expand file tree Collapse file tree 4 files changed +63
-0
lines changed
Expand file tree Collapse file tree 4 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ # Sample config for 938.
2+ indent: yes
3+ wrap: 999
Original file line number Diff line number Diff line change 1+ <!--
2+ This test case represents HTML Tidy issue #839, which describes
3+ a descrepancy between tidy's behavior and the W3C Nu HTML
4+ checker behavior. Tidy has historically allowed empty <title>
5+ elements, but this is not allowed by HTML5, and is flagged by
6+ the Nu checker. Because a <title> is required by HTML5, it
7+ would be even worse for HTML Tidy to remove this element, and
8+ so Tidy will now provide a warning if the title element is
9+ empty. It is assumed the HTML author will add a title as well
10+ as addressing other warnings.
11+ -->
12+ <!DOCTYPE html>
13+ < html >
14+ < head >
15+ < meta charset ="UTF-8 ">
16+ < title > Video Muted Attribute Test</ title >
17+ </ head >
18+
19+ < body >
20+ < video autoplay loop muted playsinline >
21+ < source src ="video/Mine.mp4 " type ="video/mp4 ">
22+ </ video >
23+ </ body >
24+ </ html >
Original file line number Diff line number Diff line change 1+ <!--
2+ This test case represents HTML Tidy issue #839, which describes
3+ a descrepancy between tidy's behavior and the W3C Nu HTML
4+ checker behavior. Tidy has historically allowed empty <title>
5+ elements, but this is not allowed by HTML5, and is flagged by
6+ the Nu checker. Because a <title> is required by HTML5, it
7+ would be even worse for HTML Tidy to remove this element, and
8+ so Tidy will now provide a warning if the title element is
9+ empty. It is assumed the HTML author will add a title as well
10+ as addressing other warnings.
11+ -->
12+ <!DOCTYPE html>
13+ < html >
14+ < head >
15+ < meta charset ="UTF-8 ">
16+ < title >
17+ Video Muted Attribute Test
18+ </ title >
19+ </ head >
20+ < body >
21+ < video autoplay ="" loop ="" muted playsinline > < source src ="video/Mine.mp4 " type ="video/mp4 "> </ video >
22+ </ body >
23+ </ html >
Original file line number Diff line number Diff line change 1+ Info: Document content looks like HTML5
2+ No warnings or errors were found.
3+
4+ About HTML Tidy: https://github.com/htacg/tidy-html5
5+ Bug reports and comments: https://github.com/htacg/tidy-html5/issues
6+ Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
7+ Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
8+ Validate your HTML documents: http://validator.w3.org/nu/
9+ Lobby your company to join the W3C: http://www.w3.org/Consortium
10+
11+ Do you speak a language other than English, or a different variant of
12+ English? Consider helping us to localize HTML Tidy. For details please see
13+ https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md
You can’t perform that action at this time.
0 commit comments