Source code

Revision control

Copy as Markdown

Other Tools

#data
<svg><![CDATA[foo
bar]]>
#errors
(1,5): expected-doctype-but-got-start-tag
(2,6): expected-closing-tag-but-got-eof
#document
| <html>
| <head>
| <body>
| <svg svg>
| "foo
bar"
#data
<svg><![CDATA[foo↩bar]]>
#errors
(1,5): expected-doctype-but-got-start-tag
(2,6): expected-closing-tag-but-got-eof
#document
| <html>
| <head>
| <body>
| <svg svg>
| "foo
bar"
#data
<svg><![CDATA[foo↩
bar]]>
#errors
(1,5): expected-doctype-but-got-start-tag
(2,6): expected-closing-tag-but-got-eof
#document
| <html>
| <head>
| <body>
| <svg svg>
| "foo
bar"
#data
<script>a=''</script>
#errors
(1,8): expected-doctype-but-got-start-tag
(1,12): invalid-codepoint
#document
| <html>
| <head>
| <script>
| "a='�'"
| <body>
#data
<script type="data"><!--</script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,25): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--�"
| <body>
#data
<script type="data"><!--foo</script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,28): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--foo�"
| <body>
#data
<script type="data"><!-- foo-</script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,30): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!-- foo-�"
| <body>
#data
<script type="data"><!-- foo--</script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,31): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!-- foo--�"
| <body>
#data
<script type="data"><!-- foo-
#errors
(1,20): expected-doctype-but-got-start-tag
(1,29): expected-script-data-but-got-eof
(1,29): expected-named-closing-tag-but-got-eof
#document
| <html>
| <head>
| <script>
| type="data"
| "<!-- foo-"
| <body>
#data
<script type="data"><!-- foo-<</script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!-- foo-<"
| <body>
#data
<script type="data"><!-- foo-<S
#errors
(1,20): expected-doctype-but-got-start-tag
(1,31): expected-script-data-but-got-eof
(1,31): expected-named-closing-tag-but-got-eof
#document
| <html>
| <head>
| <script>
| type="data"
| "<!-- foo-<S"
| <body>
#data
<script type="data"><!-- foo-</SCRIPT>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!-- foo-"
| <body>
#data
<script type="data"><!--<p></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<p>"
| <body>
#data
<script type="data"><!--<script></script></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script></script>"
| <body>
#data
<script type="data"><!--<script></script></script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,33): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script>�</script>"
| <body>
#data
<script type="data"><!--<script>-</script></script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,34): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script>-�</script>"
| <body>
#data
<script type="data"><!--<script>--</script></script>
#errors
(1,20): expected-doctype-but-got-start-tag
(1,35): invalid-codepoint
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script>--�</script>"
| <body>
#data
<script type="data"><!--<script>---</script></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script>---</script>"
| <body>
#data
<script type="data"><!--<script></scrip></SCRIPT></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script></scrip></SCRIPT>"
| <body>
#data
<script type="data"><!--<script></scrip </SCRIPT></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script></scrip </SCRIPT>"
| <body>
#data
<script type="data"><!--<script></scrip/</SCRIPT></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--<script></scrip/</SCRIPT>"
| <body>
#data
<script type="data"></scrip/></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "</scrip/>"
| <body>
#data
<script type="data"></scrip ></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "</scrip >"
| <body>
#data
<script type="data"><!--</scrip></script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--</scrip>"
| <body>
#data
<script type="data"><!--</scrip </script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--</scrip "
| <body>
#data
<script type="data"><!--</scrip/</script>
#errors
(1,20): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <script>
| type="data"
| "<!--</scrip/"
| <body>
#data
<!DOCTYPE html><!DOCTYPE html>
#errors
(1,30): unexpected-doctype
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
#data
<html><!DOCTYPE html>
#errors
(1,6): expected-doctype-but-got-start-tag
(1,21): unexpected-doctype
#document
| <html>
| <head>
| <body>
#data
<html><head><!DOCTYPE html></head>
#errors
(1,6): expected-doctype-but-got-start-tag
(1,27): unexpected-doctype
#document
| <html>
| <head>
| <body>
#data
<html><head></head><!DOCTYPE html>
#errors
(1,6): expected-doctype-but-got-start-tag
(1,34): unexpected-doctype
#document
| <html>
| <head>
| <body>
#data
<body></body><!DOCTYPE html>
#errors
(1,6): expected-doctype-but-got-start-tag
(1,28): unexpected-doctype
#document
| <html>
| <head>
| <body>
#data
<table><!DOCTYPE html></table>
#errors
(1,7): expected-doctype-but-got-start-tag
(1,22): unexpected-doctype
#document
| <html>
| <head>
| <body>
| <table>
#data
<select><!DOCTYPE html></select>
#errors
(1,8): expected-doctype-but-got-start-tag
(1,23): unexpected-doctype
#document
| <html>
| <head>
| <body>
| <select>
#data
<table><colgroup><!DOCTYPE html></colgroup></table>
#errors
(1,7): expected-doctype-but-got-start-tag
(1,32): unexpected-doctype
#document
| <html>
| <head>
| <body>
| <table>
| <colgroup>
#data
<table><colgroup><!--test--></colgroup></table>
#errors
(1,7): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <body>
| <table>
| <colgroup>
| <!-- test -->
#data
<table><colgroup><html></colgroup></table>
#errors
(1,7): expected-doctype-but-got-start-tag
(1,23): non-html-root
#document
| <html>
| <head>
| <body>
| <table>
| <colgroup>
#data
<table><colgroup> foo</colgroup></table>
#errors
(1,7): expected-doctype-but-got-start-tag
(1,32): foster-parenting-character-in-table
(1,32): foster-parenting-character-in-table
(1,32): foster-parenting-character-in-table
(1,32): unexpected-end-tag
#document
| <html>
| <head>
| <body>
| "foo"
| <table>
| <colgroup>
| " "
#data
<select><!--test--></select>
#errors
(1,8): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <body>
| <select>
| <!-- test -->
#data
<select><html></select>
#errors
(1,8): expected-doctype-but-got-start-tag
(1,14): non-html-root
#document
| <html>
| <head>
| <body>
| <select>
#data
<frameset><html></frameset>
#errors
(1,10): expected-doctype-but-got-start-tag
(1,16): non-html-root
#document
| <html>
| <head>
| <frameset>
#data
<frameset></frameset><html>
#errors
(1,10): expected-doctype-but-got-start-tag
(1,27): non-html-root
#document
| <html>
| <head>
| <frameset>
#data
<frameset></frameset><!DOCTYPE html>
#errors
(1,10): expected-doctype-but-got-start-tag
(1,36): unexpected-doctype
#document
| <html>
| <head>
| <frameset>
#data
<html><body></body></html><!DOCTYPE html>
#errors
(1,6): expected-doctype-but-got-start-tag
(1,41): unexpected-doctype
#document
| <html>
| <head>
| <body>
#data
<svg><!DOCTYPE html></svg>
#errors
(1,5): expected-doctype-but-got-start-tag
(1,20): unexpected-doctype
#document
| <html>
| <head>
| <body>
| <svg svg>
#data
<svg><font></font></svg>
#errors
(1,5): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <body>
| <svg svg>
| <svg font>
#data
<svg><font id=foo></font></svg>
#errors
(1,5): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <body>
| <svg svg>
| <svg font>
| id="foo"
#data
<svg><font size=4></font></svg>
#errors
(1,5): expected-doctype-but-got-start-tag
(1,18): unexpected-html-element-in-foreign-content
(1,31): unexpected-end-tag
#document
| <html>
| <head>
| <body>
| <svg svg>
| <font>
| size="4"
#data
<svg><font color=red></font></svg>
#errors
(1,5): expected-doctype-but-got-start-tag
(1,21): unexpected-html-element-in-foreign-content
(1,34): unexpected-end-tag
#document
| <html>
| <head>
| <body>
| <svg svg>
| <font>
| color="red"
#data
<svg><font font=sans></font></svg>
#errors
(1,5): expected-doctype-but-got-start-tag
#document
| <html>
| <head>
| <body>
| <svg svg>
| <svg font>
| font="sans"