From 18a0fee9c76865c42a93bbc05fc1b1fc630a6183 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Thu, 8 Sep 2022 10:33:10 +0200 Subject: [PATCH] Remove parse error for The spec would enable foster parenting for whitespace in template after seeing table-related markup and trigger a parse error. Whitespace in template should not be a parse error. This change should not affect the parsed tree structure, only the number of parse errors. Non-whitespace text will still go through foster parenting and is still a parse error. Fixes #7922. --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index 12b31b306d8..fcc10e1bac1 100644 --- a/source +++ b/source @@ -114340,7 +114340,7 @@ document.body.appendChild(text);
-
A character token, if the current node is table, tbody, tfoot, thead, or tr element
+
A character token, if the current node is table, tbody, template, tfoot, thead, or tr element

Let the pending table character tokens be an empty list of tokens.