From 43ac122984922b5f5909fb6f3661b0701519948f Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 2 Apr 2025 12:26:47 +0100 Subject: [PATCH] LibWeb/HTML: Update FIXME to not reset form-associated custom elements Corresponds to https://github.com/whatwg/html/commit/e6bdd0557abe7425c77deefb473a8241e6de786c --- Libraries/LibWeb/HTML/Parser/HTMLParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp b/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp index f8a937eb601..009014546b1 100644 --- a/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp +++ b/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp @@ -818,7 +818,7 @@ GC::Ref HTMLParser::create_element_for(HTMLToken const& token, Opt // FIXME: 12. If element has an xmlns attribute in the XMLNS namespace whose value is not exactly the same as the element's namespace, that is a parse error. // Similarly, if element has an xmlns:xlink attribute in the XMLNS namespace whose value is not the XLink Namespace, that is a parse error. - // FIXME: 13. If element is a resettable element, invoke its reset algorithm. (This initializes the element's value and checkedness based on the element's attributes.) + // FIXME: 13. If element is a resettable element and not a form-associated custom element, then invoke its reset algorithm. (This initializes the element's value and checkedness based on the element's attributes.) // 14. If element is a form-associated element and not a form-associated custom element, the form element pointer is not null, there is no template element on the stack of open elements, // element is either not listed or doesn't have a form attribute, and the intended parent is in the same tree as the element pointed to by the form element pointer,