Chromium Code Reviews
DescriptionBuild HTMLFormElement::m_associatedElements lazily
HTMLFormElement::associate() and disassociate() don't update
m_associatedElements synchronously, and we build it by traversing a DOM tree on
demand.
The code becomes simpler and we don't need complex functions like
formElementIndexWithFormAttribute and formElementIndex any more.
Difference from r165846:
Fixed a crash when a FORM with multiple elements magically associated by HTML parser is detach from the document. This contains a test for the crash.
BUG=334556, 338764
TEST=none; no user-visible behavior changes.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166029
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix crash #
Messages
Total messages: 14 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||