Title: [94148] trunk/Source/WebCore
- Revision
- 94148
- Author
- [email protected]
- Date
- 2011-08-30 21:34:26 -0700 (Tue, 30 Aug 2011)
Log Message
Quick fix for crashing tests caused by r94142.
Tests:
editing/execCommand/remove-format-elements.html
fast/block/child-not-removed-from-parent-lineboxes-crash.html
fast/forms/implicit-submission.html
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine): Allow
for isIndex element which is derived from HTMLInputElement.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (94147 => 94148)
--- trunk/Source/WebCore/ChangeLog 2011-08-31 04:04:06 UTC (rev 94147)
+++ trunk/Source/WebCore/ChangeLog 2011-08-31 04:34:26 UTC (rev 94148)
@@ -1,3 +1,16 @@
+2011-08-30 David Levin <[email protected]>
+
+ Quick fix for crashing tests caused by r94142.
+
+ Tests:
+ editing/execCommand/remove-format-elements.html
+ fast/block/child-not-removed-from-parent-lineboxes-crash.html
+ fast/forms/implicit-submission.html
+
+ * rendering/RenderTextControlSingleLine.cpp:
+ (WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine): Allow
+ for isIndex element which is derived from HTMLInputElement.
+
2011-08-30 Sam Weinig <[email protected]>
Add constructor for CustomEvent
Modified: trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp (94147 => 94148)
--- trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp 2011-08-31 04:04:06 UTC (rev 94147)
+++ trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp 2011-08-31 04:34:26 UTC (rev 94148)
@@ -75,7 +75,7 @@
, m_searchPopup(0)
{
ASSERT(node->isHTMLElement());
- ASSERT(node->hasTagName(inputTag));
+ ASSERT(node->hasTagName(inputTag) || node->hasTagName(isindexTag));
}
RenderTextControlSingleLine::~RenderTextControlSingleLine()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes