DescriptionHTML parser should not associate elements inside templates with forms
When parsing <form><template><input>, the previous behavior was to associate
the <input> with the <form>, even though they're not in the same tree (or
even the same document!).
This patch changes that by checking, prior to creating a form control element,
whether the element to be created lives in a document with a browsing context.
BUG=247038
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152676
Patch Set 1 #Patch Set 2 : Patch for landing #
Messages
Total messages: 4 (0 generated)
|