| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 469bc7a952c742e9449d340a4b81df0a039a8166..2144390e627a4cb977ce75f86580e09f1bc675f7 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -3326,7 +3326,9 @@ KURL Element::getNonEmptyURLAttribute(const QualifiedName& name) const {
|
| }
|
|
|
| int Element::getIntegralAttribute(const QualifiedName& attributeName) const {
|
| - return getAttribute(attributeName).toInt();
|
| + int integralValue = 0;
|
| + parseHTMLInteger(getAttribute(attributeName), integralValue);
|
| + return integralValue;
|
| }
|
|
|
| void Element::setIntegralAttribute(const QualifiedName& attributeName,
|
|
|