Chromium Code Reviews
Description[Spec compat] form element pointer should be set iff no template element on the stack of open elements
Before this CL, the form element pointer was set iff *template element was the owner element of the current node*, which is wrong.
After this CL, the form element pointer is set iff *template element is on the stack of open elements*, which follows the spec:
https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
"Insert an HTML element for the token, and, if there is no template element on the stack of open elements, set the form element pointer to point to the element created."
BUG=660671
Committed: https://crrev.com/c69c00516d0b3092098439e7d2940005468dbf3b
Cr-Commit-Position: refs/heads/master@{#430573}
Patch Set 1 #Patch Set 2 : mod the test case a bit #
Total comments: 1
Messages
Total messages: 12 (4 generated)
|
||||||||||||||||||||||||||||