instiki/vendor/plugins/HTML5lib/testdata/tree-construction/tests3.dat

271 lines
3.7 KiB
Text
Raw Normal View History

2007-06-12 06:33:06 +02:00
#data
<head></head><style></style>
#errors
No DOCTYPE
<style> in after-head mode
#document
| <html>
| <head>
| <style>
| <body>
#data
<head></head><script></script>
#errors
No DOCTYPE
<script> in after-head mode
#document
| <html>
| <head>
| <script>
| <body>
#data
<head></head><!-- --><style></style><!-- --><script></script>
#errors
No DOCTYPE
<style> in after-head mode
#document
| <html>
| <head>
| <style>
| <script>
| <!-- -->
| <!-- -->
| <body>
#data
<head></head><!-- -->x<style></style><!-- --><script></script>
#errors
No DOCTYPE
#document
| <html>
| <head>
| <!-- -->
| <body>
| "x"
| <style>
| <!-- -->
| <script>
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><pre>
2007-06-12 06:33:06 +02:00
</pre></body></html>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <pre>
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><pre>
2007-06-12 06:33:06 +02:00
foo</pre></body></html>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <pre>
| "foo"
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><pre>
2007-06-12 06:33:06 +02:00
foo</pre></body></html>
#errors
#document
| <!DOCTYPE htML>
| <html>
| <head>
| <body>
| <pre>
| "
foo"
#data
<!DOCTYPE htML><html><head></head><body><pre>
2007-06-12 06:33:06 +02:00
foo
</pre></body></html>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <pre>
| "foo
"
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><pre>x</pre><span>
2007-06-12 06:33:06 +02:00
</span></body></html>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <pre>
| "x"
| <span>
| "
"
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><pre>x
2007-06-12 06:33:06 +02:00
y</pre></body></html>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <pre>
| "x
y"
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><pre>x<div>
2007-06-12 06:33:06 +02:00
y</pre></body></html>
#errors
End tag <pre> seen too early. Expected other end tag.
2007-06-12 06:33:06 +02:00
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <pre>
| "x"
| <div>
| "
y"
2007-06-12 06:33:06 +02:00
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><HTML><META><HEAD></HEAD></HTML>
2007-06-12 06:33:06 +02:00
#errors
Unexpected start tag HEAD in HEAD. Ignored.
2007-06-12 06:33:06 +02:00
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <meta>
| <body>
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><HTML><HEAD><head></HEAD></HTML>
2007-06-12 06:33:06 +02:00
#errors
Unexpected start tag HEAD in HEAD. Ignored.
2007-06-12 06:33:06 +02:00
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
#data
<textarea>foo<span>bar</span><i>baz
#errors
Unexpected start tag. Expected DOCTYPE.
Unexpected end of file.
2007-06-12 06:33:06 +02:00
#document
| <html>
| <head>
| <body>
| <textarea>
| "foo<span>bar</span><i>baz"
#data
<title>foo<span>bar</em><i>baz
#errors
Unexpected start tag. Expected DOCTYPE.
Unexpected end of file.
2007-06-12 06:33:06 +02:00
#document
| <html>
| <head>
| <title>
| "foo<span>bar</em><i>baz"
| <body>
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><textarea>
2007-06-12 06:33:06 +02:00
</textarea>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <textarea>
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><textarea>
2007-06-12 06:33:06 +02:00
foo</textarea>
#errors
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <textarea>
| "foo"
#data
<!DOCTYPE htML><textarea>
foo</textarea>
#errors
#document
| <!DOCTYPE htML>
| <html>
| <head>
| <body>
| <textarea>
| "
foo"
2007-06-12 06:33:06 +02:00
#data
2007-06-22 10:12:08 +02:00
<!DOCTYPE htML><html><head></head><body><ul><li><div><p><li></ul></body></html>
2007-06-12 06:33:06 +02:00
#errors
Missing end tag (div)
#document
2007-06-22 10:12:08 +02:00
| <!DOCTYPE htML>
2007-06-12 06:33:06 +02:00
| <html>
| <head>
| <body>
| <ul>
| <li>
| <div>
| <p>
| <li>
2007-06-22 10:12:08 +02:00
#data
<!doctype html><nobr><nobr><nobr>
#errors
Unexpected <nobr> tag.
Unexpected <nobr> tag.
2007-06-22 10:12:08 +02:00
Unexpected end of file.
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <nobr>
| <nobr>
| <nobr>
#data
<!doctype html><nobr><nobr></nobr><nobr>
#errors
Unexpected <nobr> tag.
2007-06-22 10:12:08 +02:00
Unexpected end of file.
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <nobr>
| <nobr>
| <nobr>