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

237 lines
3.1 KiB
Plaintext
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
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
#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"
#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
#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
#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
#document
| <html>
| <head>
| <body>
| <textarea>
| "foo<span>bar</span><i>baz"
#data
<title>foo<span>bar</em><i>baz
#errors
#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
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 end of file.
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <nobr>
| <nobr>
| <nobr>
#data
<!doctype html><nobr><nobr></nobr><nobr>
#errors
Unexpected end of file.
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <nobr>
| <nobr>
| <nobr>