diff options
author | Markus Unterwaditzer <markus-honeypot@unterwaditzer.net> | 2021-11-24 20:44:08 +0100 |
---|---|---|
committer | Markus Unterwaditzer <markus-honeypot@unterwaditzer.net> | 2021-11-24 20:51:21 +0100 |
commit | 9909fc4580855a58a10eb84f0d143d1b3b3f464a (patch) | |
tree | 36941a6a714a10b9ce554ba249975108e6a17274 /tests/html5lib-tests/tree-construction/main-element.dat |
hello world
Diffstat (limited to 'tests/html5lib-tests/tree-construction/main-element.dat')
-rw-r--r-- | tests/html5lib-tests/tree-construction/main-element.dat | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/html5lib-tests/tree-construction/main-element.dat b/tests/html5lib-tests/tree-construction/main-element.dat new file mode 100644 index 0000000..4b103bb --- /dev/null +++ b/tests/html5lib-tests/tree-construction/main-element.dat @@ -0,0 +1,46 @@ +#data +<!doctype html><p>foo<main>bar<p>baz +#errors +(1,36): expected-closing-tag-but-got-eof +#document +| <!DOCTYPE html> +| <html> +| <head> +| <body> +| <p> +| "foo" +| <main> +| "bar" +| <p> +| "baz" + +#data +<!doctype html><main><p>foo</main>bar +#errors +#document +| <!DOCTYPE html> +| <html> +| <head> +| <body> +| <main> +| <p> +| "foo" +| "bar" + +#data +<!DOCTYPE html>xxx<svg><x><g><a><main><b> +#errors + * (1,42) unexpected HTML-like start tag token in foreign content + * (1,42) unexpected end of file +#document +| <!DOCTYPE html> +| <html> +| <head> +| <body> +| "xxx" +| <svg svg> +| <svg x> +| <svg g> +| <svg a> +| <svg main> +| <b> |