From 826ac01b128c4adcfdf9a21a3c089b046f6c539a Mon Sep 17 00:00:00 2001 From: Nick Hamilton Date: Mon, 16 Mar 2026 10:38:56 +1000 Subject: [PATCH] add tree construction tests for void elements inside phrasing containers --- tree-construction/void-in-phrasing.dat | 151 +++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 tree-construction/void-in-phrasing.dat diff --git a/tree-construction/void-in-phrasing.dat b/tree-construction/void-in-phrasing.dat new file mode 100644 index 0000000..b7dbd1e --- /dev/null +++ b/tree-construction/void-in-phrasing.dat @@ -0,0 +1,151 @@ +#data +


+#errors +#document +| +| +| +| +|

+|
+ +#data +


text

+#errors +#document +| +| +| +| +|

+|
+| "text" + +#data +

before
after

+#errors +#document +| +| +| +| +|

+| "before" +|
+| "after" + +#data +



+#errors +#document +| +| +| +| +|

+|
+|
+ +#data +

a
b
c

+#errors +#document +| +| +| +| +|

+| "a" +|
+| "b" +|
+| "c" + +#data +


+#errors +#document +| +| +| +| +|

+|
+ +#data +

+#errors +#document +| +| +| +| +|

+| + +#data +

+#errors +#document +| +| +| +| +|

+| + +#data +

+#errors +#document +| +| +| +| +|

+| + +#data +

+#errors +#document +| +| +| +| +|

+| + +#data +

+#errors +#document +| +| +| +| +|

+| + +#data +
+#errors +#document +| +| +| +| +| +|
+ +#data +
text
+#errors +#document +| +| +| +| +| +|
+| "text"