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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFieldSetElement.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/HTMLFieldSetElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFieldSetElement.cpp b/third_party/WebKit/Source/core/html/HTMLFieldSetElement.cpp
index b91e769ab53228dea794fe0546ba9ac7c20ff967..febe4afe2894b08c8eccf5b39715d81d9c5c40e6 100644
--- a/third_party/WebKit/Source/core/html/HTMLFieldSetElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFieldSetElement.cpp
@@ -153,4 +153,9 @@ const FormAssociatedElement::List& HTMLFieldSetElement::associatedElements() con
return m_associatedElements;
}
+short HTMLFieldSetElement::tabIndex() const
+{
+ return -1;
tkent 2016/09/01 23:27:24 We should return HTMLElement::tabIndex(). e.g. <
lunalu1 2016/09/02 01:07:38 Done.
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698