Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index f3f6b337a2573505073d1389751df16064a7fd98..921324bbec5a2e2bbbd461f9220b130d3bfa718e 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -680,7 +680,7 @@ short HTMLElement::tabIndex() const |
void HTMLElement::setTabIndex(int value) |
{ |
- setAttribute(tabindexAttr, String::number(value)); |
+ setIntegralAttribute(tabindexAttr, value); |
} |
TranslateAttributeMode HTMLElement::translateAttributeMode() const |