| Index: Source/core/html/HTMLFormElement.cpp
|
| diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
|
| index ce3447afc5c4c1675fb06d5c66dcbc679e4ab430..1941b31c0f39fc6ecd24100f18b2b587cbb9fd48 100644
|
| --- a/Source/core/html/HTMLFormElement.cpp
|
| +++ b/Source/core/html/HTMLFormElement.cpp
|
| @@ -478,7 +478,7 @@ unsigned HTMLFormElement::formElementIndexWithFormAttribute(Element* element, un
|
| else
|
| left = middle + 1;
|
| }
|
| -
|
| +
|
| ASSERT(left < m_associatedElementsBeforeIndex || left >= m_associatedElementsAfterIndex);
|
| position = element->compareDocumentPosition(toHTMLElement(m_associatedElements[left]));
|
| if (position & DOCUMENT_POSITION_FOLLOWING)
|
|
|