| Index: third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp
 | 
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp b/third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp
 | 
| index 29b41c836863bc15e7838f3b4029558c81c526e7..e6f23d6efaca0d42bcc8605da12c6efa358ccc81 100644
 | 
| --- a/third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp
 | 
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp
 | 
| @@ -31,6 +31,8 @@
 | 
|  #include "core/SVGNames.h"
 | 
|  #include "core/dom/Element.h"
 | 
|  #include "core/html/HTMLElement.h"
 | 
| +#include "core/html/HTMLFormControlElement.h"
 | 
| +#include "core/html/HTMLSelectElement.h"
 | 
|  
 | 
|  namespace blink {
 | 
|  
 | 
| @@ -163,8 +165,11 @@ void HTMLElementStack::popAll() {
 | 
|    m_stackDepth = 0;
 | 
|    while (m_top) {
 | 
|      Node& node = *topNode();
 | 
| -    if (node.isElementNode())
 | 
| +    if (node.isElementNode()) {
 | 
|        toElement(node).finishParsingChildren();
 | 
| +      if (isHTMLSelectElement(node))
 | 
| +        toHTMLFormControlElement(node).setBlocksFormSubmission(true);
 | 
| +    }
 | 
|      m_top = m_top->releaseNext();
 | 
|    }
 | 
|  }
 | 
| 
 |