ASSERT(renderer()) under HTMLTextAreaElement::updateValue()
[WebKit-https.git] / Source / WebCore / ChangeLog
index 4af229f..31f2e4d 100644 (file)
@@ -1,3 +1,20 @@
+2018-11-07  Chris Dumez  <cdumez@apple.com>
+
+        ASSERT(renderer()) under HTMLTextAreaElement::updateValue()
+        https://bugs.webkit.org/show_bug.cgi?id=191391
+        <rdar://problem/34219633>
+
+        Reviewed by Geoffrey Garen.
+
+        Update HTMLTextFormControlElement::didEditInnerTextValue() to not call subtreeHasChanged()
+        if the element has no renderer, similarly to what is already done in 
+        HTMLTextFormControlElement::setRangeText() and HTMLInputElement::setEditingValue().
+
+        Test: editing/inserting/inset-html-textarea-without-renderer.html
+
+        * html/HTMLTextFormControlElement.cpp:
+        (WebCore::HTMLTextFormControlElement::didEditInnerTextValue):
+
 2018-11-07  Youenn Fablet  <youenn@apple.com>
 
         Allow setting RTCRtpTransceiver.direction