diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat')
-rw-r--r-- | parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat new file mode 100644 index 0000000000..0502cf3021 --- /dev/null +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat @@ -0,0 +1,99 @@ +#data +<b>1<i>2<p>3</b>4 +#errors +(1,3): expected-doctype-but-got-start-tag +(1,16): adoption-agency-1.3 +(1,17): expected-closing-tag-but-got-eof +#document +| <html> +| <head> +| <body> +| <b> +| "1" +| <i> +| "2" +| <i> +| <p> +| <b> +| "3" +| "4" + +#data +<a><div><style></style><address><a> +#errors +(1,3): expected-doctype-but-got-start-tag +(1,35): unexpected-start-tag-implies-end-tag +(1,35): adoption-agency-1.3 +(1,35): adoption-agency-1.3 +(1,35): expected-closing-tag-but-got-eof +#document +| <html> +| <head> +| <body> +| <a> +| <div> +| <a> +| <style> +| <address> +| <a> +| <a> + +#data +<b><i><a><s><tt><div></b>first</b></div></tt></s></a>second</i> +#errors +3: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>". +25: End tag "b" violates nesting rules. +34: Stray end tag "b". +63: Stray end tag "i". +#document +| <html> +| <head> +| <body> +| <b> +| <i> +| <a> +| <s> +| <tt> +| <a> +| <s> +| <tt> +| <div> +| <b> +| "first" +| "second" + +#data +<code foo="bar"><code><code><code><code></code></code></code></code>text</code> +#errors +16: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>". +#document +| <html> +| <head> +| <body> +| <code> +| foo="bar" +| <code> +| <code> +| <code> +| <code> +| "text" + +#data +<code foo="bar"><code><code><code><div><code></div></code></code></code></code>text</code> +#errors +16: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>". +51: End tag "div" seen, but there were open elements. +45: Unclosed element "code". +58: No "code" element in scope but a "code" end tag seen. +#document +| <html> +| <head> +| <body> +| <code> +| foo="bar" +| <code> +| <code> +| <code> +| <div> +| <code> +| "text" |