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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOutputElement.cpp

Issue 2298133004: Changed the default value of tabIndex of <fieldset> and <output> to be -1 as they are non-focusable… (Closed)
Patch Set: Added a layout test Created 4 years, 3 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: third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp b/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
index f5a58d1b4d4a71f47e3dd0f6957c858b90b3259e..117151d50072efc7e2e05cb3ff22246f2c6337b1 100644
--- a/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
@@ -145,6 +145,10 @@ void HTMLOutputElement::setDefaultValue(const String& value)
setTextContent(value);
}
+short HTMLOutputElement::tabIndex() const
+{
+ return -1;
tkent 2016/09/01 23:27:24 We should return HTMLElement::tabIndex().
lunalu1 2016/09/02 01:07:38 Done.
+}
DEFINE_TRACE(HTMLOutputElement)
{

Powered by Google App Engine
This is Rietveld 408576698