Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: Source/core/dom/ElementRareData.h

Issue 1046853002: Implement 'tabstop' as an HTML attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Guard tabstop attribute to be enabled via about:flags Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/ElementRareData.h
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h
index d314723c3a50b1e9ead9e83cf6f81dc37eb6b9ae..a568285e7223e45f64c4f2fe45d321e1ae45f7c0 100644
--- a/Source/core/dom/ElementRareData.h
+++ b/Source/core/dom/ElementRareData.h
@@ -57,15 +57,12 @@ public:
void setTabIndexExplicitly(short index)
{
m_tabindex = index;
- // tabStop is overridden by setting tabindex.
- m_tabStop = (m_tabindex >= 0);
setElementFlag(TabIndexWasSetExplicitly, true);
}
void clearTabIndexExplicitly()
{
m_tabindex = 0;
- m_tabStop = true;
clearElementFlag(TabIndexWasSetExplicitly);
}

Powered by Google App Engine
This is Rietveld 408576698