From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../foreign-fragment.dat | 550 +++++++++++++++++++++ 1 file changed, 550 insertions(+) create mode 100644 parser/htmlparser/tests/mochitest/html5lib_tree_construction/foreign-fragment.dat (limited to 'parser/htmlparser/tests/mochitest/html5lib_tree_construction/foreign-fragment.dat') diff --git a/parser/htmlparser/tests/mochitest/html5lib_tree_construction/foreign-fragment.dat b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/foreign-fragment.dat new file mode 100644 index 0000000000..2e3cb6c6f6 --- /dev/null +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/foreign-fragment.dat @@ -0,0 +1,550 @@ +#data +X +#errors +6: HTML start tag “nobr” in a foreign namespace context. +7: End of file seen and there were open elements. +6: Unclosed element “nobr”. +#document-fragment +svg path +#document +| +| "X" + +#data +X +#errors +12: HTML start tag “font” in a foreign namespace context. +#document-fragment +svg path +#document +| +| color="" +| "X" + +#data +X +#errors +#document-fragment +svg path +#document +| +| "X" + +#data +X +#errors +10: End tag “path” did not match the name of the current open element (“g”). +11: End of file seen and there were open elements. +3: Unclosed element “g”. +#document-fragment +svg path +#document +| +| "X" + +#data +X +#errors +5: Stray end tag “path”. +#document-fragment +svg path +#document +| "X" + +#data +X +#errors +5: Stray end tag “foreignobject”. +#document-fragment +svg foreignObject +#document +| "X" + +#data +X +#errors +5: Stray end tag “desc”. +#document-fragment +svg desc +#document +| "X" + +#data +X +#errors +5: Stray end tag “title”. +#document-fragment +svg title +#document +| "X" + +#data +X +#errors +5: Stray end tag “svg”. +#document-fragment +svg svg +#document +| "X" + +#data +X +#errors +5: Stray end tag “mfenced”. +#document-fragment +math mfenced +#document +| "X" + +#data +X +#errors +5: Stray end tag “malignmark”. +#document-fragment +math malignmark +#document +| "X" + +#data +X +#errors +5: Stray end tag “math”. +#document-fragment +math math +#document +| "X" + +#data +X +#errors +5: Stray end tag “annotation-xml”. +#document-fragment +math annotation-xml +#document +| "X" + +#data +X +#errors +5: Stray end tag “mtext”. +#document-fragment +math mtext +#document +| "X" + +#data +X +#errors +5: Stray end tag “mi”. +#document-fragment +math mi +#document +| "X" + +#data +X +#errors +5: Stray end tag “mo”. +#document-fragment +math mo +#document +| "X" + +#data +X +#errors +5: Stray end tag “mn”. +#document-fragment +math mn +#document +| "X" + +#data +X +#errors +5: Stray end tag “ms”. +#document-fragment +math ms +#document +| "X" + +#data +X +#errors +51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. +52: End of file seen and there were open elements. +51: Unclosed element “ms”. +#document-fragment +math ms +#document +| +| +| +| +| +| +| "X" + +#data + +#errors +#document-fragment +math ms +#document +| + +#data +
+#errors +#document-fragment +math ms +#document +|
+ +#data +
+#errors +#document-fragment +math ms +#document +|
+ +#data +X +#errors +51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. +52: End of file seen and there were open elements. +51: Unclosed element “mn”. +#document-fragment +math mn +#document +| +| +| +| +| +| +| "X" + +#data + +#errors +#document-fragment +math mn +#document +| + +#data +
+#errors +#document-fragment +math mn +#document +|
+ +#data +
+#errors +#document-fragment +math mn +#document +|
+ +#data +X +#errors +51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. +52: End of file seen and there were open elements. +51: Unclosed element “mo”. +#document-fragment +math mo +#document +| +| +| +| +| +| +| "X" + +#data + +#errors +#document-fragment +math mo +#document +| + +#data +
+#errors +#document-fragment +math mo +#document +|
+ +#data +
+#errors +#document-fragment +math mo +#document +|
+ +#data +X +#errors +51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. +52: End of file seen and there were open elements. +51: Unclosed element “mi”. +#document-fragment +math mi +#document +| +| +| +| +| +| +| "X" + +#data + +#errors +#document-fragment +math mi +#document +| + +#data +
+#errors +#document-fragment +math mi +#document +|
+ +#data +
+#errors +#document-fragment +math mi +#document +|
+ +#data +X +#errors +51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. +52: End of file seen and there were open elements. +51: Unclosed element “mtext”. +#document-fragment +math mtext +#document +| +| +| +| +| +| +| "X" + +#data + +#errors +#document-fragment +math mtext +#document +| + +#data +
+#errors +#document-fragment +math mtext +#document +|
+ +#data +
+#errors +#document-fragment +math mtext +#document +|
+ +#data +
+#errors +5: HTML start tag “div” in a foreign namespace context. +#document-fragment +math annotation-xml +#document +| + +#data +
+#errors +#document-fragment +math annotation-xml +#document +| + +#data +
+#errors +5: HTML start tag “div” in a foreign namespace context. +#document-fragment +math math +#document +| + +#data +
+#errors +#document-fragment +math math +#document +| + +#data +
+#errors +#document-fragment +svg foreignObject +#document +|
+ +#data +
+#errors +#document-fragment +svg foreignObject +#document +|
+ +#data +
+#errors +#document-fragment +svg title +#document +|
+ +#data +
+#errors +#document-fragment +svg title +#document +|
+ +#data +
+#errors +#document-fragment +svg desc +#document +|
+ +#data +

X

+#errors +5: HTML start tag “div” in a foreign namespace context. +9: HTML start tag “h1” in a foreign namespace context. +#document-fragment +svg svg +#document +| +| +| "X" + +#data +
+#errors +5: HTML start tag “div” in a foreign namespace context. +#document-fragment +svg svg +#document +| + +#data +
+#errors +#document-fragment +svg desc +#document +|
+ +#data +
+#errors +#document-fragment +svg desc +#document +|
+ +#data +<foo> +#errors +16: End of file seen and there were open elements. +11: Unclosed element “plaintext”. +#document-fragment +svg desc +#document +| <plaintext> +| "<foo>" + +#data +<frameset>X +#errors +6: Stray start tag “frameset”. +#document-fragment +svg desc +#document +| "X" + +#data +<head>X +#errors +6: Stray start tag “head”. +#document-fragment +svg desc +#document +| "X" + +#data +<body>X +#errors +6: Stray start tag “body”. +#document-fragment +svg desc +#document +| "X" + +#data +<html>X +#errors +6: Stray start tag “html”. +#document-fragment +svg desc +#document +| "X" + +#data +<html class="foo">X +#errors +6: Stray start tag “html”. +#document-fragment +svg desc +#document +| "X" + +#data +<body class="foo">X +#errors +6: Stray start tag “body”. +#document-fragment +svg desc +#document +| "X" -- cgit v1.2.3