Index: third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
index a724456d02787f7d508965172f20a20ac2de7bc2..d7e56235c8b6d5217e8899ce57c0015cf35dc2df 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
@@ -185,8 +185,9 @@ void HTMLFormElement::removedFrom(ContainerNode* insertionPoint) { |
void HTMLFormElement::handleLocalEvents(Event& event) { |
Node* targetNode = event.target()->toNode(); |
if (event.eventPhase() != Event::kCapturingPhase && targetNode && |
- targetNode != this && (event.type() == EventTypeNames::submit || |
- event.type() == EventTypeNames::reset)) { |
+ targetNode != this && |
+ (event.type() == EventTypeNames::submit || |
+ event.type() == EventTypeNames::reset)) { |
event.stopPropagation(); |
return; |
} |
@@ -301,8 +302,9 @@ void HTMLFormElement::prepareForSubmission( |
String tagName = toHTMLFormControlElement(element)->tagName(); |
document().addConsoleMessage(ConsoleMessage::create( |
SecurityMessageSource, ErrorMessageLevel, |
- "Form submission failed, as the <" + tagName + "> element named " |
- "'" + |
+ "Form submission failed, as the <" + tagName + |
+ "> element named " |
+ "'" + |
element->name() + |
"' was implicitly closed by reaching " |
"the end of the file. Please add an explicit end tag " |