Browse Source

LibWeb/HTML: Update FIXME to not reset form-associated custom elements

Corresponds to https://github.com/whatwg/html/commit/e6bdd0557abe7425c77deefb473a8241e6de786c
Sam Atkins 1 week ago
parent
commit
7367150536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libraries/LibWeb/HTML/Parser/HTMLParser.cpp

+ 1 - 1
Libraries/LibWeb/HTML/Parser/HTMLParser.cpp

@@ -818,7 +818,7 @@ GC::Ref<DOM::Element> 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,