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

271 lines
4.5 KiB
Text
Raw Normal View History

2007-06-12 06:33:06 +02:00
#data
<head></head><style></style>
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 20 Unexpected start tag (style) that can be in head. Moved.
2007-06-12 06:33:06 +02:00
#document
| <html>
| <head>
| <style>
| <body>
#data
<head></head><script></script>
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 21 Unexpected start tag (script) that can be in head. Moved.
2007-06-12 06:33:06 +02:00
#document
| <html>
| <head>
| <script>
| <body>
#data
<head></head><!-- --><style></style><!-- --><script></script>
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 28 Unexpected start tag (style) that can be in head. Moved.
2007-06-12 06:33:06 +02:00
#document
| <html>
| <head>
| <style>
| <script>
| <!-- -->
| <!-- -->
| <body>
#data
<head></head><!-- -->x<style></style><!-- --><script></script>
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
2007-06-12 06:33:06 +02:00
#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
Line: 2 Col: 7 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
Line: 1 Col: 33 Unexpected start tag head in existing 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
Line: 1 Col: 33 Unexpected start tag head in existing 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
Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
Line: 1 Col: 35 Expected closing tag. 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
Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE.
Line: 1 Col: 30 Unexpected end of file. Expected end tag (title).
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
Line: 1 Col: 60 Missing end tag (div, li).
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>
| <ul>
| <li>
| <div>
| <p>
| <li>
2007-06-22 10:12:08 +02:00
#data
<!doctype html><nobr><nobr><nobr>
#errors
Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
Line: 1 Col: 33 Unexpected start tag (nobr) implies end tag (nobr).
Line: 1 Col: 33 Expected closing tag. Unexpected end of file.
2007-06-22 10:12:08 +02:00
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <nobr>
| <nobr>
| <nobr>
#data
<!doctype html><nobr><nobr></nobr><nobr>
#errors
Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
Line: 1 Col: 40 Expected closing tag. Unexpected end of file.
2007-06-22 10:12:08 +02:00
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <nobr>
| <nobr>
| <nobr>