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 --- .../html5lib_tree_construction/tricky01.dat | 334 +++++++++++++++++++++ 1 file changed, 334 insertions(+) create mode 100644 parser/htmlparser/tests/mochitest/html5lib_tree_construction/tricky01.dat (limited to 'parser/htmlparser/tests/mochitest/html5lib_tree_construction/tricky01.dat') diff --git a/parser/htmlparser/tests/mochitest/html5lib_tree_construction/tricky01.dat b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/tricky01.dat new file mode 100644 index 0000000000..f7065214ea --- /dev/null +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/tricky01.dat @@ -0,0 +1,334 @@ +#data +

Bold Not bold

+Also not bold. +#errors +(1,3): expected-doctype-but-got-start-tag +(1,15): adoption-agency-1.3 +#document +| +| +| +| +|

+| +| "Bold " +| " Not bold" +| " +Also not bold." + +#data + +Italic and Red

Italic and Red Just italic.

Italic only. Plain +

I should not be red. Red. Italic and red.

+

Italic and red. Red. I should not be red.

+Bold Bold and italic Only Italic Plain +#errors +(1,6): expected-doctype-but-got-start-tag +(2,58): adoption-agency-1.3 +(3,67): unexpected-end-tag +(4,23): adoption-agency-1.3 +(4,35): adoption-agency-1.3 +(5,30): adoption-agency-1.3 +#document +| +| +| +| +| color="red" +| +| "Italic and Red" +| +|

+| +| color="red" +| "Italic and Red " +| " Just italic." +| " Italic only." +| " Plain +" +|

+| "I should not be red. " +| +| color="red" +| "Red. " +| +| "Italic and red." +| +| color="red" +| +| " +" +|

+| +| color="red" +| +| "Italic and red. " +| " Red." +| " I should not be red." +| " +" +| +| "Bold " +| +| "Bold and italic" +| +| " Only Italic " +| " Plain" + +#data + +

First paragraph.

+

Second paragraph.

+

Bold and Italic Italic

+#errors +(1,6): expected-doctype-but-got-start-tag +(2,38): unexpected-end-tag +(4,28): adoption-agency-1.3 +(4,28): adoption-agency-1.3 +(4,39): unexpected-end-tag +#document +| +| +| +| " +" +|

+| +| size="7" +| "First paragraph." +| +| size="7" +| " +" +|

+| "Second paragraph." +| " +" +| +|

+| +| +| "Bold and Italic" +| +| " Italic" + +#data + +

+
Boo +
Goo? +
+ +#errors +(1,6): expected-doctype-but-got-start-tag +(4,4): end-tag-too-early +(5,5): end-tag-too-early +(6,7): expected-one-end-tag-but-got-another +#document +| +| +| +|
+| " +" +|
+| +| "Boo +" +|
+| +| "Goo? +" +| +| " +" + +#data + +