From 9b4a29c943b3c905e46b26569bae16de8b373516 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Fri, 11 Jun 2021 13:23:50 +0200 Subject: [PATCH] Test

and
in SVG (#135) See https://github.com/whatwg/html/pull/6736 --- tree-construction/foreign-fragment.dat | 42 ++++++++++++++++++++++ tree-construction/tests26.dat | 48 ++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/tree-construction/foreign-fragment.dat b/tree-construction/foreign-fragment.dat index 7aff409c..d5bc22e5 100644 --- a/tree-construction/foreign-fragment.dat +++ b/tree-construction/foreign-fragment.dat @@ -576,6 +576,48 @@ svg svg #document |

+#data +

+#errors +9: HTML end tag “p” in a foreign namespace context. +#document-fragment +div +#document +| +|

+| + +#data +
+#errors +10: HTML end tag “br” in a foreign namespace context. +#document-fragment +div +#document +| +|

+| + +#data +

+#errors +4: HTML end tag “p” in a foreign namespace context. +#document-fragment +svg svg +#document +|

+| + +#data +
+#errors +5: HTML end tag “br” in a foreign namespace context. +#document-fragment +svg svg +#document +|

+| + #data #errors diff --git a/tree-construction/tests26.dat b/tree-construction/tests26.dat index de453b9c..e6f71f6a 100644 --- a/tree-construction/tests26.dat +++ b/tree-construction/tests26.dat @@ -391,3 +391,51 @@ Line 1 Col 19 Expected closing tag. Unexpected end of file. |