Invalidate node list when associated form control element is removed
[WebKit.git] / Source / WebCore / ChangeLog
index 0a36ab6..3580e26 100644 (file)
@@ -1,3 +1,20 @@
+2017-11-03  Daniel Bates  <dabates@apple.com>
+
+        Invalidate node list when associated form control element is removed
+        https://bugs.webkit.org/show_bug.cgi?id=179232
+        <rdar://problem/35308269>
+
+        Reviewed by Ryosuke Niwa.
+
+        A node list represents a live view of the DOM. Invalidate the node list
+        associated with a form element whenever one of its associated form control
+        elements is removed.
+
+        Test: fast/forms/node-list-remove-button-from-form.html
+
+        * html/HTMLFormElement.cpp:
+        (WebCore::HTMLFormElement::removeFormElement):
+
 2017-11-03  Frederic Wang  <fwang@igalia.com>
 
         Add USE(APPLE_INTERNAL_SDK)-guards around SPI in ResourceHandle code